I don't know if you can use wxBuilder with codeblocks...
The problem is the wizard does not know about the "USE_OPENGL=1" flag. It does not search for the
wxmsw310u_gl_gcc_custom.dll
but for Can you open a ticket on SF and report this? It should be easily fixable.. https://sourceforge.net/p/codeblocks/tickets/747/
To make quick steps you can do two things:
1) Compiler wx Without OpenGL if you don't need it
2) Fix the project by yourself:
Finish the wizard. Then go to
Project->Build options->select Debug on the left side->Linker settings->Change the name of the library accordingly to "libwxmsw31ud_gl"
Project->Build options->select Release on the left side->Linker settings->Change the name of the library accordingly to "libwxmsw31u_gl"
For reference the way to create a new project if you compile without Opengl:
My wxWidgets installation is in
G:\Programming\wxWidgets310
so the path to the dll is as follows:
G:\Programming\wxWidgets310\lib\gcc_dll\wxmsw310u_gcc_custom.dll
Steps i do:
1) File->New->Project->wxWidgets
2) Next
3) select wxWidgets 3.1.x -> next
4) Enter project title. For example "testwx" -> next
5) Next
6) wxSmith -> Next
7) Enter path to wxWidgets: G:\Programming\wxWidgets310 -> Next
8) Ticks at follwoing selections:
Use wxWidgets dll
wxWidgets is build as monolithic library
Enable unicode
9) Next
10) Build and run
I have carried out your suggestion, and find that my build still does not work. It is not producing
Without error message it is impossible to solve the error.. Crystal balls are out of order since 200 years, sry...
I can compile wxWidgets and use it on codeblocks with the following command:
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 CXXFLAGS="-fno-keep-inline-dllexport" clean
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 CXXFLAGS="-fno-keep-inline-dllexport"
You should delete your wxWidgets source and redownload or unzip it, to remove all not needed object files ecc...