Thursday, March 8, 2018

c++ - Eclipse CDT project configuration

I am trying to build a CDT project in Eclipse version3.8. I have given the paths of all the libraries in C/C++ General-->Paths and Symbols. But the compiler is not able to get the path of header files and I get the following error:



E:...\NewWorkspace\...\strong\cpp\ck2/services/gpdm/TestRestBindingStub.hxx(29) : fatal error C1083: Cannot open include file: 'ck2\schemas\gpdm_2010_09\gbom\TestResponse.hxx': No such file or directory



I have also given all the paths in settings upto the root folder of .hxx file but still its not taking the header file and throwing error.


Please help.
Thanks in advance
NC


EDIT-[Its not a duplicate]:


Okay let me refine my question.
I have included all the External include in my Eclipse CDT project. But its not able to recognize the one's which are present inside the project itself.


Example, I have a project at location:



(Workspace-loc)/source/output/server/rootA/sub-rootA/file.hxx



I have include the path in includes till here:



(Workspace-loc)/source/output/server/



And I include the file in my project like this:


#include 

But I get an error saying:



'......\file.hxx': No such file or directory


No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...