I am try to develop a simple frame-based window app on windows PC.
There's a linker error as following:
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f "edid_parser_wsp.mk""
----------Building project:[ EDIDUtil - Debug ]----------
mingw32-make[1]: Entering directory `e:/codelite_proj/edid_parser/EDIDUtil'
windres -i "E:/codelite_proj/edid_parser/EDIDUtil/win_resources.rc" --use-temp-file --define __WXMSW__ --define __WXDEBUG__ --define _UNICODE --include-dir C:\wxWidgets-2.9.4\lib\gcc_dll\mswud --include-dir C:\wxWidgets-2.9.4\include --define WXUSINGDLL -o ./Debug/win_resources.rc.o -IC:/wxWidgets-2.9.4/include
g++ -c "E:/codelite_proj/edid_parser/EDIDUtil/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswud -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Debug/main.o -I. -IC:/wxWidgets-2.9.4/include -IC:/wxWidgets-2.9.4/lib/gcc_dll/mswud -I.
g++ -c "E:/codelite_proj/edid_parser/EDIDUtil/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswud -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Debug/wxcrafter_bitmaps.o -I. -IC:/wxWidgets-2.9.4/include -IC:/wxWidgets-2.9.4/lib/gcc_dll/mswud -I.
g++ -c "E:/codelite_proj/edid_parser/EDIDUtil/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswud -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Debug/MainFrame.o -I. -IC:/wxWidgets-2.9.4/include -IC:/wxWidgets-2.9.4/lib/gcc_dll/mswud -I.
c:\MinGW-4.7.1\bin\windres.exe: warning: 24: 1: 1033: duplicate value
g++ -c "E:/codelite_proj/edid_parser/EDIDUtil/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:\wxWidgets-2.9.4\lib\gcc_dll\mswud -IC:\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Debug/wxcrafter.o -I. -IC:/wxWidgets-2.9.4/include -IC:/wxWidgets-2.9.4/lib/gcc_dll/mswud -I.
g++ -o ./Debug/EDIDUtil @"EDIDUtil.txt" -L. -static -mthreads -LC:\wxWidgets-2.9.4\lib\gcc_dll -lwxmsw29ud_xrc -lwxmsw29ud_aui -lwxmsw29ud_html -lwxmsw29ud_adv -lwxmsw29ud_core -lwxbase29ud_xml -lwxbase29ud_net -lwxmsw29ud_richtext -lwxbase29ud -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexud -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_xrc
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_aui
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_html
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_adv
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_core
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29ud_xml
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29ud_net
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw29ud_richtext
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxbase29ud
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxtiffd
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxjpegd
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxpngd
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxzlibd
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxregexud
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxexpatd
c:/mingw-4.7.1/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot find -lwxregexud
collect2.exe: error: ld returned 1 exit status
mingw32-make[1]: *** [Debug/EDIDUtil] Error 1
mingw32-make.exe: *** [All] Error 2
EDIDUtil.mk:79: recipe for target `Debug/EDIDUtil' failed
mingw32-make[1]: Leaving directory `e:/codelite_proj/edid_parser/EDIDUtil'
edid_parser_wsp.mk:4: recipe for target `All' failed
0 errors, 0 warnings
Can anyone do me a favor?
Thanks,
faywong