Hey everyone
I have a strange problem with Code::Blocks.
I have a project called PlayerStage and I need to include some header files. The header files are spread into a few folders, which I have gathered together in a single folder which I call external, the path then becomes:
PlayerStage/external/the_different_folders_here.
Doing "Add files recursively" adds the external folder, with its subfolders and their headers files. But when I try to add a header files to my project, the compiler says it cant find the file.
The syntax is done like this:
#include <external/libplayerc++/playerc++.h>
The name is without spelling errors, so why cant the compiler add the file?
Thanks for the help.
Regards
Sebastian Aslund
Add the Compiler search directory under the project settings or compiler settings.
If the header is a standard header included with the compiler add under compiler settings.
When in doubt add under project.
Tim S.
Thanks Tim, it worked.