Cppdepend C++ linux base

453 Views Asked by At

I'm trying to generate code metrics for a C++ project which is not a Visual Studio one, rather it was written on Linux.

I tried the Project Maker and followed the steps except for the last part (After adding the source files, you can specify the project properties). I did not know what to input. So, I proceeded and when starting the Analysis it gives so many clang parsing errors such as

"string" file not found at "path/xyx.hpp"
fstream file not found at "path/ii.hpp"

though I can see in xyx.hpp that there is a line #include <string>

1

There are 1 best solutions below

3
On

From the projectmaker configuration you have to specify the include path where the stl library exists. For that right click the project in projectmaker choose properties and added the include path directories separated by ;