它過2次天,我正在嘗試安裝的MongoDB的駕駛員C++,但我一直運行到了同樣的錯誤(在Mac OS X環境在)MongoDB的C++驅動程序安裝
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安裝了pcre和boost(sudo port install boost)。
任何想法?我現在真的被卡住了..
Thx guys。
你安裝什麼版本boost'的'?你試圖編譯什麼版本的C++驅動程序?它看起來像你可能已經從端口安裝了不兼容的boost版本。 – Stennie 2012-07-19 02:00:12