1
我得到這個錯誤編譯:埃羅與升壓
CXX luascript.o
In file included from /usr/include/boost/filesystem.hpp:15:0,
from luascript.cpp:21:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/root/src.DEB'
make: *** [all] Error 2
我以前編這一點,我不記得有見過這個。
luascript.cpp的第21行是#include <boost/filesystem.hpp>
我能做些什麼來解決這個問題?
我在Debian 7中使用最新的軟件包和gcc 4.8.2