How to ensure that you are building against STLport.

Posted by Pradyot on Stack Overflow See other posts from Stack Overflow or by Pradyot
Published on 2010-05-05T00:01:10Z Indexed on 2010/05/05 0:08 UTC
Read the original article Hit count: 234

Filed under:
|
|

I am using Visual C++ 2005 to build a couple of libraries and an executable. I include the STLport location in the Additional Include Path of the libraries and include the library in the input to linker for executable.

The library however seems to reffer to stl symbols (such as string) without the stl port namespace. This results in a linker error.

these are the relevant lines from the command line on the 2 libraries and executable: /Od /I "..\Junctions\fo_fid_3rdParty\STLport-5.1.0\stlport"

/Od /I "..\Junctions\Includes\fo_fid_3rdParty\STLport-5.1.0\stlport"

/OUT:"..\ET_BUILD\vc8\Debug\bin\SFGWDealerwebFixAutorecD.exe" /INCREMENTAL:NO /NOLOGO ..\junctions\libs\fo_fid_3rdParty\STLport-5.1.0\lib\stlportstld_vc8.5.1.lib

thanks

© Stack Overflow or respective owner

Related posts about stlport

Related posts about visual-c++