How to ensure that you are building against STLport.
- by Pradyot
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