首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ Builder >

呼叫妖哥,关于bcb2010编译boost的有关问题

2012-03-09 
呼叫妖哥,关于bcb2010编译boost的问题。下了1.46 1.40 都编译不过去。我主要就想要个boost python,编译错误

呼叫妖哥,关于bcb2010编译boost的问题。
下了1.46 1.40 都编译不过去。我主要就想要个boost python,编译错误如下,使用2007 2010 编译都是一样的错误。


这只是其中一个错误,所有文件都编译不过去....
orland.compile.c++ bin.v2\libs\python\build\borland-5.9.2\debug\link-static\threading-multi\long.obj
libs\python\src\long.cpp:
Error E2451 .\boost/mpl/aux_/numeric_op.hpp 177: Undefined symbol 'BOOST_PP_ITERATION_02'
Error E2139 .\boost/mpl/aux_/numeric_op.hpp 183: Declaration missing ;
Error E2270 .\boost/mpl/aux_/numeric_op.hpp 298: > expected
Error E2428 .\boost/mpl/aux_/numeric_op.hpp 309: Templates must be classes or functions
Error E2270 .\boost/mpl/aux_/numeric_op.hpp 298: > expected
Error E2228 .\boost/mpl/aux_/numeric_op.hpp 298: Too many error or warning messages
*** 6 errors in Compile ***
...failed updating 2 targets...
...updated 4 targets...


妖哥有办法么?



[解决办法]
我对boost不熟悉, 你找毛毛吧.
[解决办法]
你可以参考boost中的关于不同编译器编译的配置说明congfig.hpp

2010不是包含boost么?虽然版本不新。
我用boost,只用boost的纯模板库。
[解决办法]

探讨

我对boost不熟悉, 你找毛毛吧.

热点排行