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