
Hi all, I'm trying to install stlport for vc71 and gcc and ran into some problems. 1. VC7.1 bjam -sTOOLS=vc7.1-stlport -sSTLPORT_PATH="C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stlport" install Boost::regex gives me a bunch of unresolved symbols errors: --------------------------------------------------- vc-Link bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\debug\boost_regex-vc71-mt-gdp-1_31. dll bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\debug\boost_regex-vc71-mt-gdp-1_31.lib Creating library bin\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\debug\boost_regex-vc71-mt-gdp-1_31.lib and object in\boost\libs\regex\build\boost_regex.dll\vc7.1-stlport\debug\boost_regex-vc71-mt-gdp-1_31.exp instances.obj : error LNK2001: unresolved external symbol "private: unsigned int __cdecl boost::cpp_ regex_traits<wchar_t>::do_syntax_type(unsigned int)const " (?do_syntax_type@?$cpp_regex_traits@_W@bo ost@@ABAII@Z) winstances.obj : error LNK2001: unresolved external symbol "private: unsigned int __cdecl boost::cpp _regex_traits<wchar_t>::do_syntax_type(unsigned int)const " (?do_syntax_type@?$cpp_regex_traits@_W@b oost@@ABAII@Z) .... ---------------------------------------------------- Did I forget to do something? 2. GCC (run in cygwin) bjam -sTOOLS=gcc-stlport -sSTLPORT_PATH="/usr/local/include/stlport" install ------------------------------------------------------ gcc-Link-action bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\boost_date_tim -gcc-gdp-1_31.dll bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\boost_date_time-gcc-gdp-1_31.lib /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lstlport_cygwin_stldebug collect2: ld returned 1 exit status g++ -Wl,--export-all-symbols -Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_ tart__ -Wl,--out-implib,bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\boost_date_time-gcc-gdp-1_31.lib -g -shared -o "bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\boost_date_time-gcc-gdp-1_31.dll" -L"C:/cygwin/usr/local/include/stlport/STLport-4.6/ ib" "bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\greg_month.obj" "bin\boo t\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\greg_weekday.obj" "bin\boost\libs\date time\build\boost_date_time.dll\gcc-stlport\debug\date_generators.obj" -lstlport_cygwin_stldebug ...failed gcc-Link-action bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\boost_date_time-gcc-gdp-1_31.dll bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\boost_date_time-gcc-gdp-1_31.lib... ...skipped <@boost!lib>boost_date_time-gcc-gdp-1_31.dll for lack of <@boost!libs!date_time!build\bo st_date_time.dll\gcc-stlport\debug>boost_date_time-gcc-gdp-1_31.dll... ...skipped <@boost!lib>boost_date_time-gcc-gdp-1_31.lib for lack of <@boost!libs!date_time!build\bo st_date_time.dll\gcc-stlport\debug>boost_date_time-gcc-gdp-1_31.lib... gcc-Link-action bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\threading-multi\boost_date_time-gcc-mt-gdp-1_31.dll bin\boost\libs\date_time\build\boost_date_time.dll\gcc-stlport\debug\threading-multi\boost_date_time-gcc-mt-gdp-1_31.lib /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lstlport_cygw n_stldebug collect2: ld returned 1 exit status ..... ------------------------------------------------------ What is this library "-lstlport_cygwin_stldebug"? It complained that it couldn't be found. Where can I find it? 3. Boost build bjam version 1 vs version 2 What should I do to install stlport for bbv2? I could only find stlport.jam under tools/ directory. Or can I use stlport that was built by v1 for v2? I'm using boost1.31.0 and stlport4.6.2. Thanks a lot in advance! __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com