尽管我添加了 boost 库,但 Eclipse 并未使用 C++ 构建它们。为什么?
Although I add the boost library, Eclipse is not building them in C++. Why?
我正在尝试在 Eclipse C++ 上添加增强库。我已经完成了所有步骤。但它不能。错误是说..\src\dfsdf.cpp:3:10: fatal error: boost/filesystem.hpp: No such file or directory
。我分享了一些关于我的屏幕的图片,它解释了一切。怎么了 ?我如何添加或使用这些库?
提前致谢
first image second image third image
这只是一个猜测,因为您没有提到 Boost 的 filesystem.hpp
在您系统中的位置,但我怀疑当编译器试图找到这个包含的文件时,您得到了一个重复的目录名称。尝试将包含路径从 C:\boost_1_66_0\boost
更改为 C:\boost_1_66_0
.
我正在尝试在 Eclipse C++ 上添加增强库。我已经完成了所有步骤。但它不能。错误是说..\src\dfsdf.cpp:3:10: fatal error: boost/filesystem.hpp: No such file or directory
。我分享了一些关于我的屏幕的图片,它解释了一切。怎么了 ?我如何添加或使用这些库?
提前致谢
first image second image third image
这只是一个猜测,因为您没有提到 Boost 的 filesystem.hpp
在您系统中的位置,但我怀疑当编译器试图找到这个包含的文件时,您得到了一个重复的目录名称。尝试将包含路径从 C:\boost_1_66_0\boost
更改为 C:\boost_1_66_0
.