User forums > Help
Cannot build cb from source
zabzonk:
Have you set the CB wx variable as described here http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows#Compile_Code::Blocks
smallB:
Hi Neil, yes, It is indeed set. Now I'm getting following error:
C:\wxWidgets-2.8.12\include\wx\platform.h|196|fatal error: wx/setup.h: No such file or directory|
And indeed there is no such file there. Any ideas why?
zabzonk:
Nope, but you can get that problem if you build wxwidgets from scratch. I would expunge all traces of wx from your system (check with a tool like Everything http://www.voidtools.com) and then re-install from the wxpack setup file, but only install the GCC stuff.
smallB:
Ok will do. Thanks. Tomorrow'll let you know how I got on.
P.S. As you probably've realized there is just one thread with my "ingenious" suggestions ;)
smallB:
Hi Neil, Great news. Indeed, installing wxPack just for gcc did the trick. Also as you've already mentioned -std=c++0x MUSTN'T be on.
Thanks Neil for your help.
Navigation
[0] Message Index
[*] Previous page
Go to full version