Here is my bjam output when I tried to compile boost.regex 1.36, I am using
Chinese version, but the error number is the same as english version. I am using
the old version of bjam, compile 1.34, 1.35 has no problem, and without any
unicode support.
Thanks.
warning: Graph library does not contain optional GraphML reader.
note:
to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note:
directories containing the Expat headers and libraries,
respectively.
warning: skipping optional Message Passing Interface (MPI)
library.
note: to enable MPI support, add "using mpi ;" to
user-config.jam.
note: to suppress this message, pass "--without-mpi" to
bjam.
note: otherwise, you can safely ignore this message.
Building
Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to
the Boost.Regex documentation for more information
(don't panic: this is a
strictly optional feature).
warning: No toolsets are configured.
warning:
Configuring default toolset "msvc".
warning: If the default is wrong, your
build may not work correctly.
warning: Use the "--toolset=xxxxx" option to
override our guess.
warning: For more configuration options, please
consult
warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html...patience...
...found
529 targets...
...updating 7 targets...
compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\wc_regex_traits.obj
wc_regex_traits.cpp
libs\regex\src\..\src\wc_regex_traits.cpp(53) : error C2375:
“std::allocator<_Ty>::allocator”:
重定义;不同的链接
with
[
_Ty=unsigned short
]
C:\Program Files\Microsoft
Visual Studio 8\VC\INCLUDE\xmemory(120) :
参见“std::allocator<_Ty>::allocator”的声明
with
[
_Ty=unsigned short
]
libs\regex\src\..\src\wc_regex_traits.cpp(53) : error C3190:
具有所提供的模板参数的“std::allocator<_Ty>::allocator(void)
throw()”不是“std::allocator<_Ty>”的任何成员函数的显式实例化
with
[
_Ty=unsigned short
]
call "C:\Program Files\Microsoft Visual Studio
8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\wc_regex_traits.obj.rsp"
...failed compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\wc_regex_traits.obj...
compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\usinstances.obj
usinstances.cpp
libs\regex\src\..\src\usinstances.cpp(55) : error C2375:
“std::allocator<_Ty>::allocator”:
重定义;不同的链接
with
[
_Ty=unsigned short
]
C:\Program Files\Microsoft
Visual Studio 8\VC\INCLUDE\xmemory(120) :
参见“std::allocator<_Ty>::allocator”的声明
with
[
_Ty=unsigned short
]
libs\regex\src\..\src\usinstances.cpp(55) : error C3190:
具有所提供的模板参数的“std::allocator<_Ty>::allocator(void)
throw()”不是“std::allocator<_Ty>”的任何成员函数的显式实例化
with
[
_Ty=unsigned short
]
call "C:\Program Files\Microsoft Visual Studio
8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\usinstances.obj.rsp"
...failed compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\usinstances.obj...
...skipped
<pbin.v2\libs\regex\build\msvc-8.0\release\threading-multi>boost_regex-vc80-mt-1_36.dll
for lack of
<pbin.v2\libs\regex\build\msvc-8.0\release\threading-multi>wc_regex_traits.obj...
...skipped
<pbin.v2\libs\regex\build\msvc-8.0\release\threading-multi>boost_regex-vc80-mt-1_36.lib
for lack of
<pbin.v2\libs\regex\build\msvc-8.0\release\threading-multi>wc_regex_traits.obj...
compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi\wc_regex_traits.obj
wc_regex_traits.cpp
libs\regex\src\..\src\wc_regex_traits.cpp(53) : error C2375:
“std::allocator<_Ty>::allocator”:
重定义;不同的链接
with
[
_Ty=unsigned short
]
C:\Program Files\Microsoft
Visual Studio 8\VC\INCLUDE\xmemory(120) :
参见“std::allocator<_Ty>::allocator”的声明
with
[
_Ty=unsigned short
]
libs\regex\src\..\src\wc_regex_traits.cpp(53) : error C3190:
具有所提供的模板参数的“std::allocator<_Ty>::allocator(void)
throw()”不是“std::allocator<_Ty>”的任何成员函数的显式实例化
with
[
_Ty=unsigned short
]
call "C:\Program Files\Microsoft Visual Studio
8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi\wc_regex_traits.obj.rsp"
...failed compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi\wc_regex_traits.obj...
compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi\usinstances.obj
usinstances.cpp
libs\regex\src\..\src\usinstances.cpp(55) : error C2375:
“std::allocator<_Ty>::allocator”:
重定义;不同的链接
with
[
_Ty=unsigned short
]
C:\Program Files\Microsoft
Visual Studio 8\VC\INCLUDE\xmemory(120) :
参见“std::allocator<_Ty>::allocator”的声明
with
[
_Ty=unsigned short
]
libs\regex\src\..\src\usinstances.cpp(55) : error C3190:
具有所提供的模板参数的“std::allocator<_Ty>::allocator(void)
throw()”不是“std::allocator<_Ty>”的任何成员函数的显式实例化
with
[
_Ty=unsigned short
]
call "C:\Program Files\Microsoft Visual Studio
8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi\usinstances.obj.rsp"
...failed compile-c-c++
bin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi\usinstances.obj...
...skipped
<pbin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi>libboost_regex-vc80-mt-1_36.lib
for lack of
<pbin.v2\libs\regex\build\msvc-8.0\release\link-static\threading-multi>wc_regex_traits.obj...
...failed
updating 4 targets...
...skipped 3 targets...