C++ 如何使用bcc32 v6.31+;博兰XE?

C++ 如何使用bcc32 v6.31+;博兰XE?,c++,boost,c++builder,c++builder-xe,C++,Boost,C++builder,C++builder Xe,我正在尝试使用WinXP构建由Borland Rad Studio XE提供的boost_1_39。最新版本的Developer Studio提供boost_1_39安装程序,但不提供预构建库 使用bjam: 我得到以下错误: ...patience... ...patience... ...patience... ...found 4685 targets... ...updating 970 targets... common.mkdir c:\boostsource\boost\bin.v

我正在尝试使用WinXP构建由Borland Rad Studio XE提供的boost_1_39。最新版本的Developer Studio提供boost_1_39安装程序,但不提供预构建库

使用bjam:

我得到以下错误:

...patience...
...patience...
...patience...
...found 4685 targets...
...updating 970 targets...
common.mkdir c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\acosh.obj
libs\math\build\..\src\tr1\acosh.cpp:
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\asinh.obj
libs\math\build\..\src\tr1\asinh.cpp:
Warning W8072 .\boost/format/alt_sstream_impl.hpp 108: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
Warning W8072 .\boost/format/alt_sstream_impl.hpp 108: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
Warning W8072 .\boost/format/alt_sstream_impl.hpp 126: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
Warning W8072 .\boost/format/alt_sstream_impl.hpp 126: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\atanh.obj
libs\math\build\..\src\tr1\atanh.cpp:
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\cbrt.obj
libs\math\build\..\src\tr1\cbrt.cpp:
Error E2188 .\boost/fusion/container/vector/detail/deref_impl.hpp 32: Expression syntax
Error E2040 .\boost/fusion/container/vector/detail/deref_impl.hpp 32: Declaration terminated incorrectly
Error E2451 .\boost/fusion/container/vector/detail/deref_impl.hpp 38: Undefined symbol 'element'
Error E2299 .\boost/fusion/container/vector/detail/deref_impl.hpp 38: Cannot generate template specialization from 'detail::cref_result<T>'
Error E2451 .\boost/fusion/container/vector/detail/deref_impl.hpp 39: Undefined symbol 'element'
Error E2228 .\boost/fusion/container/vector/detail/deref_impl.hpp 39: Too many error or warning messages
*** 6 errors in Compile ***
…耐心。。。
耐心
耐心
…找到4685个目标。。。
…正在更新970个目标。。。
common.mkdir c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link static\threading多线程
编译。C++ +c:\BooSoist\Booost \bin。v2\LIBS\Max\Budie\Borland \Debug。链接静态\线程多AcO.H.Obj.Obj.
libs\math\build\..\src\tr1\acosh.cpp:
编译。C++ +c:\BooSoist\Booost \bin。v2\LIBS\Max\Budie\Borland \Debug。链接静态\线程多个AsiH.Obj.
libs\math\build\..\src\tr1\asinh.cpp:
警告W8072。\boost/format/alt\u sstream\u impl.hpp 108:函数basic\u altstringbuf::seekoff中的可疑指针算法(\u int64,std::\u Iosb::\u Seekdir,std:\u Iosb::\u Openmode)
警告W8072。\boost/format/alt\u sstream\u impl.hpp 108:函数basic\u altstringbuf::seekoff中的可疑指针算法(\u int64,std::\u Iosb::\u Seekdir,std:\u Iosb::\u Openmode)
警告W8072。\boost/format/alt\u sstream\u impl.hpp 126:函数basic\u altstringbuf::seekoff中的可疑指针算法(\u int64,std::\u Iosb::\u Seekdir,std:\u Iosb::\u Openmode)
警告W8072。\boost/format/alt\u sstream\u impl.hpp 126:函数basic\u altstringbuf::seekoff中的可疑指针算法(\u int64,std::\u Iosb::\u Seekdir,std:\u Iosb::\u Openmode)
编译C++ C++:\BooSoist\Boost \bin。v2\LIBS\Max\Budio\Borland \Debug。链接静态\线程多个AtA.H.Obj.
libs\math\build\..\src\tr1\atanh.cpp:
编译C++ c:\BooSoist\Booost \bin .v2\LIBS\Max\Budio\Borland \Debug \Link静态\线程多个CBR.Obj.Obj.
libs\math\build\..\src\tr1\cbrt.cpp:
错误E2188。\boost/fusion/container/vector/detail/deref_impl.hpp 32:表达式语法
错误E2040。\boost/fusion/container/vector/detail/deref_impl.hpp 32:声明错误终止
错误E2451。\boost/fusion/container/vector/detail/deref_impl.hpp 38:未定义的符号“element”
错误E2299。\boost/fusion/container/vector/detail/deref_impl.hpp 38:无法从“detail::cref_result”生成模板专门化
错误E2451。\boost/fusion/container/vector/detail/deref_impl.hpp 39:未定义的符号“element”
错误E2228。\boost/fusion/container/vector/detail/deref_impl.hpp 39:错误或警告消息太多
***编译中的6个错误***
有没有办法用Borland XE提供的bcc32版本6.31构建最新的boost库?

您指的是没有随IDE的XE版本一起安装的特定库?该产品已经提供了大部分库

我看到的库如下所示:

  • 日期时间
  • 文件系统
  • 正则表达式
  • 系列化
  • 信号
  • 系统
  • 线
  • 试验
当然,boost提供的大部分内容都是以头的形式出现的,因此不需要编译

您指的是没有随IDE的XE版本一起安装的特定库吗?该产品已经提供了大部分库

我看到的库如下所示:

  • 日期时间
  • 文件系统
  • 正则表达式
  • 系列化
  • 信号
  • 系统
  • 线
  • 试验

当然,boost提供的大部分内容都是以头的形式出现的,因此不需要编译

bcc32和boost::program_选项的组合在1_39中效果不太好。(这就是为什么它没有附带.lib文件的原因)
您可能需要设置boost的1_34_1并行安装,并对其进行一些调整以重建程序选项库。

bcc32和boost::program_选项的组合在1_39中工作得不太好。(这就是为什么它没有附带.lib文件的原因)
您可能需要设置1_34_1 boost的并行安装,并对其进行一些调整,以重建程序选项库。

我们有一个使用“LIBBOOST_程序选项-BCB-MT-SD-1_34.LIB”的遗留应用程序。基本上,我需要一个与1_39兼容的应用程序:(我们有一个使用“LIBBOOST_PROGRAM_OPTIONS-BCB-MT-SD-1_34.LIB”的遗留应用程序。基本上,我需要一个与1_39兼容的应用程序:(非常感谢David。我们将重新评估我们的选项,看看我们需要做多少“调整”。非常感谢David。我们将重新评估我们的选项,看看我们需要做多少“调整”)。
...patience...
...patience...
...patience...
...found 4685 targets...
...updating 970 targets...
common.mkdir c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\acosh.obj
libs\math\build\..\src\tr1\acosh.cpp:
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\asinh.obj
libs\math\build\..\src\tr1\asinh.cpp:
Warning W8072 .\boost/format/alt_sstream_impl.hpp 108: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
Warning W8072 .\boost/format/alt_sstream_impl.hpp 108: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
Warning W8072 .\boost/format/alt_sstream_impl.hpp 126: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
Warning W8072 .\boost/format/alt_sstream_impl.hpp 126: Suspicious pointer arithmetic in function basic_altstringbuf<char,std::char_traits<char>,std::a
llocator<char> >::seekoff(__int64,std::_Iosb<int>::_Seekdir,std::_Iosb<int>::_Openmode)
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\atanh.obj
libs\math\build\..\src\tr1\atanh.cpp:
borland.compile.c++ c:\boostsource\boost\bin.v2\libs\math\build\borland\debug\link-static\threading-multi\cbrt.obj
libs\math\build\..\src\tr1\cbrt.cpp:
Error E2188 .\boost/fusion/container/vector/detail/deref_impl.hpp 32: Expression syntax
Error E2040 .\boost/fusion/container/vector/detail/deref_impl.hpp 32: Declaration terminated incorrectly
Error E2451 .\boost/fusion/container/vector/detail/deref_impl.hpp 38: Undefined symbol 'element'
Error E2299 .\boost/fusion/container/vector/detail/deref_impl.hpp 38: Cannot generate template specialization from 'detail::cref_result<T>'
Error E2451 .\boost/fusion/container/vector/detail/deref_impl.hpp 39: Undefined symbol 'element'
Error E2228 .\boost/fusion/container/vector/detail/deref_impl.hpp 39: Too many error or warning messages
*** 6 errors in Compile ***