ANSI vs Unicode issue?
Posted: Thu Dec 12, 2013 8:18 am
This seems like it has something to do with an ANSI vs Unicode issue. Maybe?
This is also the first time I'm attempting to build for a Release version. I wanted to know how I can tell it to build an all-in-one file with no DLL dependencies? Thanks.C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 6 -e -f Makefile"
"----------Building project:[ Demo4 - Release ]----------"
mingw32-make.exe[1]: Entering directory `C:/Users/5K3105/Documents/CDev_CodeLite52/demo1/Demo4'
g++ -o ./Release/Demo4 @"Demo4.txt" -L. -mthreads -LC:/wxWidgets-3.0.0/lib/gcc_dll -lwxmsw30u_stc -lwxmsw30u_richtext -lwxmsw30u_xrc -lwxmsw30u_aui -lwxmsw30u_html -lwxmsw30u_adv -lwxmsw30u_core -lwxbase30u_xml -lwxbase30u_net -lwxmsw30u_richtext -lwxbase30u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
./Release/MainFrame.o:MainFrame.cpp:(.text+0x23f): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/MainFrame.o:MainFrame.cpp:(.text+0x4b0): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/MainFrame.o:MainFrame.cpp:(.text+0x5c6): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/MainFrame.o:MainFrame.cpp:(.text+0x6ef): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/MainFrame.o:MainFrame.cpp:(.rdata$_ZTV9MainFrame[__ZTV9MainFrame]+0x364): undefined reference to `wxNonOwnedWindow::DoSetPathShape(wxGraphicsPath const&)'
./Release/wxcrafter.o:wxcrafter.cpp:(.text+0x12b6): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/wxcrafter.o:wxcrafter.cpp:(.text+0x1f63): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/wxcrafter.o:wxcrafter.cpp:(.text+0x241c): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/wxcrafter.o:wxcrafter.cpp:(.text+0x271d): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/wxcrafter.o:wxcrafter.cpp:(.text+0x2862): undefined reference to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_'
./Release/wxcrafter.o:wxcrafter.cpp:(.text+0x29a2): more undefined references to `_imp___ZNK14wxTranslations9GetStringERK8wxStringS2_' follow
./Release/wxcrafter.o:wxcrafter.cpp:(.rdata$_ZTV18MainFrameBaseClass[__ZTV18MainFrameBaseClass]+0x364): undefined reference to `wxNonOwnedWindow::DoSetPathShape(wxGraphicsPath const&)'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Release/Demo4] Error 1
mingw32-make.exe: *** [All] Error 2
Demo4.mk:80: recipe for target `Release/Demo4' failed
mingw32-make.exe[1]: Leaving directory `C:/Users/5K3105/Documents/CDev_CodeLite52/demo1/Demo4'
Makefile:4: recipe for target `All' failed
12 errors, 0 warnings