Sorry for being a noob but i´m having a hard time installing wxwidgets for codeblocks, even after looking up similar posts.
System: Win7 x64
This is what i did, following
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef and
http://wiki.wxwidgets.org/CodeBlocks_Setup_Guide1 - downloaded and installed "codeblocks-10.05mingw-setup.exe"
2 - set win path "C:\Program Files (x86)\CodeBlocks\MinGW\bin"
3 - opened a DOS prompt and entered the command: mingw32-gcc, witch replied 'no input files' (everything ok)
4 - being the first time using codeblocks i created a "hello world" project, that built and ran with no problems.
5 - downloaded and executed wxWidgets Source "wxMSW-2.9.1-Setup.exe"
6 - opened console and typed "mingw32-make.exe -f makefile.gcc clean"
7 - opened console and typed "mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0"
well, after these steps i,
1 - opened codeblocks again and created new wxwidgets project
2 - chose preferred GUI builder wxform builder
3 - chose frame based application type
4 - defined wx's location (C:\wxWidgets-2.9.1)
5 - didn't change compiler options
6 - in the wxwidgets library settings chose all three first options
7 - bang! "A matching debug configuration cannot be found in the wxwidgets directory you specified. This means that debug target of your project will not build. Sure you want to proceed with these settings?"
8 - clicked yes (i don´t know...maybe it will work...)
9 - bang 2! "A matching release configuration cannot be found in the wxwidgets directory you specified. This means that release target of your project will not build. Sure you want to proceed with these settings?"
9 - clicked yes (i don´t know... whatever...)
10 - project files created, but ...
11 - bang 3! "error wx/setup.h: no such file or directory" 50+ compiling errors!
the compiling errors were all of the type ""wxUSE **** must be defined, please read comment near the top of this file."
the comments were:
"If you get an error saying "wxUSE_FOO must be defined", it means that you
are not using the correct up-to-date version of setup.h. This happens most
often when using svn or daily snapshots and a new symbol was added to
setup0.h and you haven't updated your local setup.h to to reflect it. If
this is the case, you need to propagate the changes from setup0.h to your
setup.h and, if using makefiles under MSW, also remove setup.h under the
build directory (lib/$(COMPILER)_{lib,dll}/msw
[d][dll]/wx) so that it
the new setup.h is copied there."
well, there are a lot of setup.h files in my codeblocks directory, and i can´t figure out witch one to change/delete.
So i am sort of stuck!
Can anyone help a noob that writes long posts?