在Windows上构建MangGDB C++驱动程序:未找到Boost 这是我试图构建C++驱动程序:
scons-32-dynamicwindows-prefix=h:\3rdparty\MongoDB\src\bin\ -cpppath=h:\3rdparty\boost-libpath=h:\3rdparty\boost\lib32-msvc-12.0\install mongoclient 这就是我得到的:在Windows上构建MangGDB C++驱动程序:未找到Boost 这是我试图构建C++驱动程序:,windows,mongodb,Windows,Mongodb,scons-32-dynamicwindows-prefix=h:\3rdparty\MongoDB\src\bin\ -cpppath=h:\3rdparty\boost-libpath=h:\3rdparty\boost\lib32-msvc-12.0\install mongoclient 这就是我得到的: 检查C++头文件Booost /Valp.缓存否 找不到boost标头 ... fatal error C1083: Cannot open include file: 'boost/
检查C++头文件Booost /Valp.缓存否 找不到boost标头
...
fatal error C1083: Cannot open include file: 'boost/static_assert.hpp': No such file or directory
我确信我的3rdparty\boost是正确的目录:它包含一个名为boost的文件夹,其中包含所有boost头。所以boost/static_assert.hpp应该解决这个文件夹没有问题
我做错了什么
这是git存储库中截至今天的最新驱动程序源。请尝试使用
... --cpppath="h:\3rdparty\boost\" ...
请注意结尾处的反斜杠。在您将cd刻录到h:\3rdparty\boost之后,是否可以包含dir/s/b的输出?@npclaudiu:好了