Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
692 Views

Includes not resolving

I'm unable to get Eclipse 10.1 to include anything not in the current directory or the built-in directories. 

For example, I have:# include "net.h"# include "./subdir/net.h"# include "c:/FullPathTo/subdir/net.h"# include "subdir/net.h" 

 

I always get "No such file or directory", even though I can open the file  

from the project space, Explorer, or my external editor. 

 

I try to add include paths in the Project->Properties->C/C++General->Includes, but the builder never inserts a "-I mypath" for anything I enter, either as a workspace or filesystem path. 

 

Windows 7 x64, Intel Core i7.
0 Kudos
1 Reply
Highlighted
Honored Contributor I
20 Views

Just a guess: in your paths try '\' instead of '/'.

0 Kudos