regex with msvc-stlport
Hi, I am trying to build de regex boost library with msvc and stlport4.6.1, with no success!!! help!!!! I use the following to compile (release version): cd regex cd build ..\..\..\bjam -sTOOLS=msvc-stlport "-sSTLPORT_PATH=C:\Program Files\Microsoft Visual Studio" "-sSTLPORT_4.6.1_PATH=C:\Program Files\Microsoft Visual Studio\STLport-4.6.1" "-sSTLPORT_VERSION=4.6.1" "-sBUILD=release <stlport-iostream>on <stlport-cstd-namespace>global" and I get the following output: ...found 713 targets... ...updating 40 targets... MkDir1 ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release MkDir1 ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global MkDir1 ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\c_regex_traits.obj c_regex_traits.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\c_regex_traits_common.obj c_regex_traits_common.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\cpp_regex_traits.obj cpp_regex_traits.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\cregex.obj cregex.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\fileiter.obj fileiter.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\posix_api.obj posix_api.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex.obj regex.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex_debug.obj regex_debug.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex_synch.obj regex_synch.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\w32_regex_traits.obj w32_regex_traits.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\wide_posix_api.obj wide_posix_api.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\instances.obj instances.cpp C:\Program Files\Microsoft Visual Studio\STLport-4.6.1\stlport\stl/_algobase.h(64) : warning C4700: local variable '__tmp' used without having been initialized vc-C++ ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\winstances.obj winstances.cpp C:\Program Files\Microsoft Visual Studio\STLport-4.6.1\stlport\stl/_algobase.h(64) : warning C4700: local variable '__tmp' used without having been initialized vc-Archive ..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\libboost_regex-vc6-mt-p-1_31.lib Microsoft (R) Library Manager Version 6.00.8168 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\c_regex_traits.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\c_regex_traits_common.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\cpp_regex_traits.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\cregex.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\fileiter.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\posix_api.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex_debug.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex_synch.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\w32_regex_traits.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\wide_posix_api.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\instances.obj" "..\..\..\bin\boost\libs\regex\build\libboost_regex.lib\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\winstances.obj" FileClone D:\juan\open scene graph\boost\boost_1_31_0\stage\lib\libboost_regex-vc6-mt-p-1_31.lib 1 file(s) copied. MkDir1 ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release MkDir1 ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global MkDir1 ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\c_regex_traits.obj c_regex_traits.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\c_regex_traits_common.obj c_regex_traits_common.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\cpp_regex_traits.obj cpp_regex_traits.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\cregex.obj cregex.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\fileiter.obj fileiter.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\posix_api.obj posix_api.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex.obj regex.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex_debug.obj regex_debug.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\regex_synch.obj regex_synch.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\w32_regex_traits.obj w32_regex_traits.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\wide_posix_api.obj wide_posix_api.cpp vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\instances.obj instances.cpp C:\Program Files\Microsoft Visual Studio\STLport-4.6.1\stlport\stl/_algobase.h(64) : warning C4700: local variable '__tmp' used without having been initialized vc-C++ ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\winstances.obj winstances.cpp C:\Program Files\Microsoft Visual Studio\STLport-4.6.1\stlport\stl/_algobase.h(64) : warning C4700: local variable '__tmp' used without having been initialized vc-Link ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.dll ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.lib Creating library ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.lib and object ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.exp boost_regex-vc6-mt-p-1_31.exp : error LNK2001: unresolved external symbol "?re_custom_error_messages@?%C:\Program" (?re_custom_error_messages@?%C:\Program) boost_regex-vc6-mt-p-1_31.exp : error LNK2001: unresolved external symbol "?re_ten_w@?%C:\Program" (?re_ten_w@?%C:\Program) boost_regex-vc6-mt-p-1_31.exp : error LNK2001: unresolved external symbol "?re_zero_w@?%C:\Program" (?re_zero_w@?%C:\Program) ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.dll : fatal error LNK1120: 3 unresolved externals "link" /nologo /INCREMENTAL:NO /DLL /subsystem:console /out:"..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.dll" /IMPLIB:"..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.lib" /LIBPATH:"C:\Program Files\Microsoft Visual Studio\STLport-4.6.1\lib" /LIBPATH:"C:\PROGRA~1\MICROS~2\VC98\lib" @"..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.CMD" ...failed vc-Link ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.dll ..\..\..\bin\boost\libs\regex\build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on\boost_regex-vc6-mt-p-1_31.lib... ...skipped <@boost!libs!regex!build!stage!lib>boost_regex-vc6-mt-p-1_31.dll for lack of <@boost!libs!regex!build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on>boost_regex-vc6-mt-p-1_31.dll... ...skipped <@boost!libs!regex!build!stage!lib>boost_regex-vc6-mt-p-1_31.lib for lack of <@boost!libs!regex!build\boost_regex.dll\msvc-stlport\release\stlport-cstd-namespace-global\stlport-iostream-on>boost_regex-vc6-mt-p-1_31.lib... ...failed updating 2 targets... ...skipped 2 targets... ...updated 36 targets... Was anyone managed to get it to work? thanks Juan _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
I am trying to build de regex boost library with msvc and stlport4.6.1, with no success!!!
I regularly test regex with msvc+STLPort and it works for me with Boost.1.31.0 (OK, I use STLPort 4.6, but otherwise the same settings as you are using).
I use the following to compile (release version):
The static libs have built OK, but the dll build failed for some strange reason, I really don't understand that... John.
participants (2)
-
John Maddock
-
Juan Casanueva