Code::Blocks Forums
User forums => Help => Topic started by: stoucha on December 10, 2010, 01:15:01 am
-
Hi.
Newbie to codeblocks.
I downloaded OGRE3D SDK and put the whole folder into the Developer folder. I was able to load the OGRE3D into Xcode and build it.
Then, I created a simple OGRE project using the CodeBlocks wizard and I get a simple project that should compile.
However, it gives the error:
error: Ogre.H: No such file or directory
error: ExampleApplication.h: No such file or directory
error: windows.h: No such file or directory
error: expected class-name before '{' token
......
......
The main error is that it can't find the include files.
Any suggestions.
Thanks in advance.
-
Probably you have to read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F ?
The you should setup the search dirs correctly.