Hello, I recently moved some files from my current project's folder to a library folder, but now I am not being able to compile it. I deleted the source files from the current project and added them again from the current library folder. They were added without problems, when I call alt+f2 I can see them added in the project tree in their new folder. I then proceeded to change the include that takes care of one file used. I changed it from
to
#include "../framework/FileManager.h"
However when I try to compile the project I receive:
error: ./framework/FileManager.h: No such file or directory|
Besides a lot of
error: 'Anything from FileManager' was not declared in this scope
I went to settings, compiler and debugger, Search directories tab, to both compiler and linker tabs and added the pathname to the framework to see if it worked. Nothing.
However, if I add the full pathname in the include,
#include "/dir1/dir2/.../.../framework/FileManager.h"
I am able to compile without problems.
Apparently my problem is equal to this here:
http://forums.codeblocks.org/index.php/topic,13709.15.html that ended without a full solution.
On the project's .cbp file, I can see lots of
<Unit filename="../framework/FileManager.cpp" />
which for me seems about right.
So I would appreciate any recommendations to try to solve the matter.