0
votes

include "NewLib/MathFuncsLib.h"

The include file exists in "D:\c++\workspace\NewLib". NewLib is another project. I have done the configuration:

Under Project > Properties > C/C++ General > Paths and Symbols > Libraries, I've already added the include directory "D:\c++\workspace\NewLib\MathFuncsLib.h".

Under Project > Properties > C/C++ General > Paths and Symbols > Libraries, I've already added the include directory "${workspace_loc:/NewLib/}"

Under Project > Properties > C/C++ General > Paths and Symbols > Library Path, "D:\c++\workspace\NewLib"

Project > Properties > C/C++ General > Paths and Symbols > References,"NewLib" is selected.

But the error is there: fatal error: NewLib\MathFuncsLib.h: No such file or directory #include "NewLib\MathFuncsLib.h"

1

1 Answers

1
votes

You haven't specified path to folder where "NewLib" resides. Because your header reads "#include "NewLib\MathFuncsLib.h"

So you need to specify D:\c++\workspace in your path.