Reputation: 617
I'm trying to compile two folders in eclipse from a large open source project which is compiled by make. I have two folders opencog/server and opencog/atomspace. The problem is that the includes refer to the subfolders in the large project
e.g. #include "opencog/server/Factory.h" instead of #include "Factory.h"
so eclipse looks for opencog/server/opencog/server/Factory.h instead of opencog/server/Factory.h
Is there any way to solve this without changing the includes?
Thanks
Upvotes: 0
Views: 1275
Reputation: 27214
If you have myfolder/opencog/server
then add myfolder
to the include search paths.
Upvotes: 1