I am using boost with Visual Studio 2013 Express.
Visual Studio finds #include <boost/filesystem.hpp> in debug mode, but not in release mode.
When I try to compile in Release mode, it says:
Error 1 error C1083: Cannot open include file: 'boost/filesystem.hpp': No such file or directory
When I right-click on the #include directive to open the file manually, it works in the Debug configuration, but again not in Release, it says:
File 'boost/filesystem.hpp' not found in current source file directory or in build system paths.
I checked build configurations and
- C / C ++ โ General โ โAdditional Include Directoriesโ
- Linker โ General โ "Additional Library Directories"
- Linker โ Input โ "Additional Dependencies"
The same goes for both configurations.
Do I need to edit the "build system paths" as the error says? I thought this is what the three options above do.
What else could cause this problem?
source share