无法编译提升

时间:2014-06-11 06:43:01

标签: c++ boost

我对boost_1_55_0有些问题。 我有这个错误的时候 #include <boost/lexical_cast.hpp>

 In file included from ../../Tools/boost_1_55_0/boost/lexical_cast.hpp:167:0,
                 from ../../Client/RequestManager/Request/AsyncCheckAndUpdateCharacterInventoryRequest.cpp:12:
../../Tools/boost_1_55_0/boost/math/special_functions/sign.hpp:115:68: error: macro "method" requires 2 arguments, but only 1 given
    return detail::signbit_impl(static_cast<result_type>(x), method());

在Linux上编译。克++ - 4.8.2 这段代码使用旧的boost(1_46_1)进行编译,但我在libboost_filesystem.a中有一些链接器错误,因为在Ubuntu repos中没有旧版本的libbost

0 个答案:

没有答案