Re: [Boost-users] STL-PORT and VC 7.1
Hi,
This is the program taken from the tutorial I am trying to compile/link:
http://www.boost.org/libs/filesystem/example/simple_ls.cpp
The compile options are
/O2 /I "c:\vendor_libs\VC71\include\stlport" /I "C:\cfxa_build\include"
/I "c:\vendor_libs\VC71\include" /I
"c:\vendor_libs\VC71\include\stingray\Grid" /I
"c:\vendor_libs\VC71\include\stingray\Toolkit" /I
"c:\vendor_libs\VC71\include\stingray\Foundation" /I
"c:\vendor_libs\VC71\include\stingray" /I "C:\GDA\include" /D
"ACL_STATIC_LINK" /D "ACL_STLPORT" /D "_WINDOWS" /D "_DEBUG" /D
"_CRTDBG_MAP_ALLOC" /D "WIN32" /D "HAVE_STLPORT" /D "HAVE_GDA" /D
"_WIN32_WINNT=0x0501" /D "WINVER=0x0501" /D "_STLP_DEBUG" /D "_MBCS" /FD
/EHsc /MDd /GS /GR /YX"stdafx.h" /Fp"Release/Threading.pch"
/Fo"Release/" /Fd"Release/vc70.pdb" /W3 /nologo /c /Wp64 /Zi /TP
And the link does:
/OUT:"Release/Threading.exe" /INCREMENTAL /NOLOGO
/LIBPATH:"c:\vendor_libs\VC71\include\stlport\..\..\lib"
/LIBPATH:"c:\vendor_libs\VC71\lib" /LIBPATH:"C:\GDA\lib"
/LIBPATH:"C:\cfxa_build\lib\HAVE_GDA_debug"
/LIBPATH:"c:\vendor_libs\VC71\lib\boost\VC7_STLPORT" /DEBUG
/PDB:"Release/Threading.pdb" /SUBSYSTEM:CONSOLE /OPT:NOREF /OPT:NOICF
/MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
odbc32.lib odbccp32.lib
It seems the library can be found, however after this I am getting the
following error:
Linking...
main.obj : error LNK2019: unresolved external symbol "public: class
_STL::basic_string
Can anyone help me with this issue.
Not without more detail. Like the errors you are getting and how your are building. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------
Sliwa, Przemyslaw (London) wrote:
This is the program taken from the tutorial I am trying to compile/link: http://www.boost.org/libs/filesystem/example/simple_ls.cpp
From below I can't see which of the filesystem lib variants it's trying to link to. Somewhere in your compile log you should have a "linking to ..." mentioning the filesystem lib. Could you post that.
"_WIN32_WINNT=0x0501" /D "WINVER=0x0501" /D "_STLP_DEBUG" /D "_MBCS" /FD
Well during building bjam sets: /D "_STLPORT_DEBUG=1", but I can't remember if the value matters.
Linking... main.obj : error LNK2019: unresolved external symbol "public: class _STL::basic_string
The "_STL::..." is a sign that it's not using STLport somehow. Because it should be using something like "stlp_std::...". -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
participants (2)
-
Rene Rivera
-
Sliwa, Przemyslaw (London)