User forums > Help

help! codeblocks and wxwidgets instalation problems

<< < (2/3) > >>

ollydbg:

--- Quote from: amstag on November 03, 2010, 02:50:09 am ---ok. so what would a noob do at this point? reinstall? recompile?

--- End quote ---
I suggest you should rebuild the wxWidgets by enable the unicode.


--- Code: ---UNICODE=1

--- End code ---

amstag:
no. unfortunately that didn“t work.
Any more sugestions?

Jenna:
Did you run "mingw32-make.exe -f makefile.gcc clean" before rebuilding wxWidgets ?

cbexaminr:
On my system, the setup.h is part of the wxwidgets directory tree, not the codeblocks directory tree.

Did you include the appropriate c:\wxwidgets-2.9.1\lib\<some_gcc_vers>\msw directory in the codeblocks include paths configuration?

(In my case, when defining the 'wx' global variable, I have also filled in the 'lib' field, not just the 'base' field.  Might be worth a try.  In one of my 'project options' configurations (I'm fairly newbie too, don't have many projects), I note there is an entry in the 'Search directories' tab,
"$(#wx)\lib\gcc_dll\msw", and I know from the wxwidgets install.txt that setup.h should be found at
"$(#wx)\lib\gcc_dll\msw\wx\setup.h".)

amstag:
Ii ran "mingw32-make.exe -f makefile.gcc clean" prior to rebuilding, i i then tried cbexaminr suggestions.
Neither worked.
Reading again the guides i noticed they mentioned a wxpack file that avoided setting all these parameters.
So i uninstalled wxwidgets and ran wxpack.
After selecting gcc for the wx build everything works! No need for global variables! i just had to specify wx directory (in my case was C:\SourceCode\Libraries\wxWidgets2.8).
Just surprised for the 1.4Gb install required (!!!).
Thanks anyway for all the tips.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version