User forums > Help

Cannot build cb from source

(1/3) > >>

smallB:
Guys I followed http://www.codeblocks.org/downloads/7 and after exporting src to my hard drive I've opened codeblocks.cbp. After pressing build I'm getting following error:
C:\...\build_tools\autorevision\autorevision.cpp|108|error: 'pclose' was not declared in this scope|
What am I doing wrong?

Alpha:
It works fine for me...

Here are several things to try.  (I do not believe any of them could have caused this problem, but it does not hurt to check.)
Is svn in you path environment (autorevision tries to use this, but it should work without)?
Have cleaned the project?
Are your global variables correctly setup?
Have you checked for changes to the source code:
svn update
svn diff

zabzonk:
You apparently can't compile CB with the -std=c++0x (and maybe other strict ANSI) option. See http://forums.codeblocks.org/index.php?topic=10003.0

smallB:
@Neil Hi, After switching off some of the options like no -std=c++0x anymore, I'm getting:
 (invalid)\include||No such file or directory [enabled by default]|
 (invalid)\contrib\include||No such file or directory [enabled by default]|
 (invalid)\lib\gcc_dll\mswu||No such file or directory [enabled by default]|
Where am I suppose to get those folders from?

zabzonk:
Have you installed wxwidgets?

Navigation

[0] Message Index

[#] Next page

Go to full version