[C++] Codeblocks + wxWidgets

Hello to all. I desperately need help installing these libraries to codeblocks.
I have 7 windows codeblocks 10.5 and the Ulimate wxWidgets libraries.
I just can not complete the project. Returns seems to me the same error.
wx \ setup.h no such directory ...
or others as wx \ wx.rc no such directory ...
So I followed many guides and nn led me to nothing.
How do I do?

I performed these steps:

1) Installing codeblocks and wxWidgets
2) Place these between the environmental variables of the system:
C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW\mingw32\bin

3) Change in wxwidgets_path / include / wx / msw / setup.h
#define wxUSE_GLCANVAS 1
#define wxUSE_ODBC 1
#define wxUSE_RESOURCES 1

in case you want to integrate the database

4) Open cmd and type:
cd C:\Program Files (x86)\wxWidgets-2.8.11\build\msw
SET PATH=C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW\mingw32\bin
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 UNICODE=1 USE_ODBC=1 BUILD=release clean
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 UNICODE=1 USE_ODBC=1 BUILD=release

I compile this files in C:\Program Files (x86)\wxWidgets-2.8.11\build\msw

5) Use $(#wx) as a global variable installation of wxWidgets

How do I do?
I would like to start programming with GUI widgets, and these seem good.
anke editor wxFormBuilder_v3.0.57 is.

I also always leave a message: No configuration is possible for RELEASE build in the wizard.
Heeeelp me please!
Last edited on
When you say "wx \ setup.h no such directory..." and a bit further down you say you changed the wxwidgets_path to "/ include / wx / msw / setup.h" it tells me that you put the files in one path and you are telling your compiler that they are in another. This is an easy mistake to make, either change you code to #include wx\msw\setup.h or put he header files one folder higher.
I solved this problem by inserting a global variable environment: WXWIN and assign the path of wxWidgets. But now I have another problem:
"Wx / msw / wx.rc" no such file or directory. Why?
Topic archived. No new replies allowed.