Search code examples
visual-studio-2015include-patheigen3

Additional Include Directories in Visual Studio 2015


I am getting an error, that a source file cannot be opened. However, I believe I have set up the additional include directory, correctly in vs2015.

This screenshot shows the error: error message

This screenshot shows the include path: include path


Solution

  • Either remove the Eigen from the #include or the Additional Include Path.

    Also you shouldn't use absolute paths for includes as it means the project is non-portable. Use relative paths.