i've downloaded the Codelite & MingW3.4.5 bundle, and downloaded wxWidgets 2.8.9.
I built wxWidgets (while in the wxWidgets\build\msw folder) using:
mingw32-make.exe -f makefile.gcc UNICODE=1 SHARED=0 BUILD=release
and when i try to build a simple GUI App**, I get this:
Code: Select all
Building:
"mingw32-make.exe" -j 2 -f "SimpleApp_wsp.mk"
----------Building project:[ MyApp - Release ]----------
g++ -c "D:/Programming/IDE/CodeLite/Projects/SimpleApp/myapp_frame.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -ID:\Programming\IDE\wxWidgets-2.8.9\lib\gcc_lib\mswu -ID:\Programming\IDE\wxWidgets-2.8.9\include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Release/myapp_frame.o
g++ -c "D:/Programming/IDE/CodeLite/Projects/SimpleApp/myapp_app.cpp" -mthreads -DHAVE_W32API_H -D__WXMSW__ -D_UNICODE -ID:\Programming\IDE\wxWidgets-2.8.9\lib\gcc_lib\mswu -ID:\Programming\IDE\wxWidgets-2.8.9\include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -D__WX__ -o ./Release/myapp_app.o
g++ -o ./Release/MyApp ./Release/myapp_app.o ./Release/myapp_frame.o -O2 -mthreads -LD:\Programming\IDE\wxWidgets-2.8.9\lib\gcc_lib -lwxmsw28u_html -lwxmsw28u_adv -lwxmsw28u_core -lwxbase28u_xml -lwxbase28u_net -lwxbase28u -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
./Release/myapp_app.o:myapp_app.cpp:(.text+0x278): undefined reference to `wxXmlResource::Get()'
./Release/myapp_app.o:myapp_app.cpp:(.text+0x280): undefined reference to `wxXmlResource::InitAllHandlers()'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [Release/MyApp] Error 1
mingw32-make.exe: *** [All] Error 2
0 errors, 0 warnings, total time: 00:00:03 seconds
----------Build Ended----------
1. Create New Workspace
2. Hitting "new wxWidgetProject" in the toolbar
3. Hitting Build Project (F7)
anyone know whats causing this...and hopefully to keep it statically built...