我试图安装 MongoDB 的驱动程序 C++ 已经 2 天了,但我一直遇到同样的错误(在 Mac OS X 环境中)
In file included from /opt/local/include/boost/filesystem/operations.hpp:24,
from /opt/local/include/boost/filesystem/convenience.hpp:22,
from pch.h:83,
from pch.cpp:18:
/opt/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
In file included from util/goodies.h:22,
from pch.h:161,
from pch.cpp:18:
util/concurrency/mutex.h: In function 'boost::xtime mongo::incxtimemillis(long long int)':
在安装 lib(通过执行“scons”)之前,我通过 portmac(sudo port install boost)安装了 pcre 和 boost。
有任何想法吗 ?我现在真的卡住了。。
谢谢各位。