install stlport for gcc and vc71
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
[...]
2. GCC (run in cygwin)
[...]
What is this library "-lstlport_cygwin_stldebug"? It complained that it couldn't be found. Where can I find it?
You must manually build stlport library, or disable using stlport iostreeams: bjam -sTOOLS=gcc-stlport -s"BUILD=<stlport-iostream>off" ... Regards, Janusz
--- Janusz Piwowarski
[...]
2. GCC (run in cygwin)
[...]
What is this library "-lstlport_cygwin_stldebug"? It complained that it couldn't be found. Where can I find it?
You must manually build stlport library, or disable using stlport iostreeams:
bjam -sTOOLS=gcc-stlport -s"BUILD=<stlport-iostream>off" ...
Regards, Janusz
Thanks for your reply. I did manually build stlport library. And I'd like to use stlport-iostream. So I found libstlport_cygwin_stldebug.dll file in my /usr/local/lib drive. Why did bjam not find it? I'm wondering if it's correct to set my STLPORT_PATH as /usr/local/include/stlport or should it be .../STLPORT-4.6.2? Regards, __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com
On Wed, 10 Nov 2004 07:35:37 -0800 (PST), Sara Collins
I did manually build stlport library. And I'd like to use stlport-iostream.
So I found libstlport_*cygwin*_stldebug.dll file in my
Note the cygwin.
/usr/local/lib drive. Why did bjam not find it? I'm wondering if it's correct to set my STLPORT_PATH as /usr/local/include/stlport or should it be .../STLPORT-4.6.2?
Perhaps because you're building with VC7.1? -- Caleb Epstein caleb.epstein@gmail.com
Sara Collins wrote:
I did manually build stlport library. And I'd like to use stlport-iostream.
So I found libstlport_cygwin_stldebug.dll file in my /usr/local/lib drive. Why did bjam not find it? I'm wondering if it's correct to set my STLPORT_PATH as /usr/local/include/stlport or should it be .../STLPORT-4.6.2?
Try set STLPORT_LIB_DIRECTORY to your lib directory. Regards, Janusz
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:
Works for me, at least with 1.32 pre-release. John.
--- John Maddock
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:
Works for me, at least with 1.32 pre-release.
John.
Thanks Janusz for your help with gcc. I tried to set
STLPORT_LIB_DIRECTORY and it still didn't work. It
finally worked when I set my path to my lib directory.
Regarding to installing stlport for vc71. I tried out
boost_1.32.0 and I got exactly this error that was
described in the link below. I played with flipping
off BOOST_NO_STD_LOCALE and it didn't seem to make any
difference.
http://aspn.activestate.com/ASPN/Mail/Message/boost/2208384
The error message was: (truncated)
vc-C++
bin\boost\libs\date_time\build\boost_date_time.dll\vc-7_1-stlport\debug\threading-multi\greg_month.obj
greg_month.cpp
C:\boost_1_32_0\boost\lexical_cast.hpp(150) : error
C2679: binary '>>' : no operator found which takes a
right-hand operand of type
'boost::date_time::date_names_put
On Wed, 10 Nov 2004 12:30:01 -0800 (PST), Sara Collins wrote
Thanks Janusz for your help with gcc. I tried to set STLPORT_LIB_DIRECTORY and it still didn't work. It finally worked when I set my path to my lib directory.
Regarding to installing stlport for vc71. I tried out boost_1.32.0 and I got exactly this error that was described in the link below. I played with flipping off BOOST_NO_STD_LOCALE and it didn't seem to make any difference.
http://aspn.activestate.com/ASPN/Mail/Message/boost/2208384
The error message was: (truncated) vc-C++ bin\boost\libs\date_time\build\boost_date_time.dll\vc-7_1- stlport\debug\threading-multi\greg_month.obj greg_month.cpp C:\boost_1_32_0\boost\lexical_cast.hpp(150) : error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'boost::date_time::date_names_put
::string_type' (or there is no acceptable conversion)
Ok, I looked at this again and I think I gave poor advice the first time. Try defining BOOST_DATE_TIME_INCLUDE_LIMITED_HEADERS (look at boost/date_time/compiler_config.hpp for more) during the compilation. That will stop the inclusion of the the offending code and hopefully allow things to compile. Jeff
participants (5)
-
Caleb Epstein
-
Janusz Piwowarski
-
Jeff Garland
-
John Maddock
-
Sara Collins