1. Please keep your full document, Tianyi has sewing original, contact email:
Waterpub@mail.9cbs.net
2. From
Http://www.stlport.com/ Download, the latest version is stlport-5.0-0125,
Using WinRAR 3.0 to decompress, here is decompressed to: D: /stlport-5.0-0125 (network is not smooth
You can send me an email, mailing you ~)
3. Decompressing directory has the following files and folders:
Readme - Readme file
Install - Installation instructions (most of this article translated from here, @ _ @)
DOC - STLPORT release documentation
ETC - some files of mixed
Misc - empty folder
SRC - Source File and Compile Project
Stlport - Stlport head folder
TEST - Test Directory
TEST / Regression - Regression test, use the Stlport library
TEST / EH - Exception Test with Stlport
LIB -
This folder will be generated after compiling, this is a STLPORT link library directory
4. Note: Do not modify or rename any file or folder! Perform the following operations,
Close VS2003!
5. Modify "D: / Program Files2 / Microsoft Visual Studio .NET 2003 / Common7
/Tools/vsvars32.bat file, it is best to back up first.
Add "D: /stlport-5.0-0125/stlport;" (semicolon is not less) after @set include =
Add "D: /stlport-5.0-0125/lib;" (this folder will be created automatically) after @set lib =
6. Command line mode, execution:
D: /> CD D: /stlport-5.0-0125/stlport
D: /stlport-5.0-0125/stlport> "D: / Program Files2 / Microsoft Visual Studio .NET 2003 / Common7 / Tools / vsvars32.bat"
Description: There may be spaces in the path, so add quotation numbers above.
After running batch, you can be on the current console
Use nmake.exe in the window.
7.
Don't close the console window, run the following command:
D: /stlport-5.0-0125/stlport> CD D: /stlport-5.0-0125/src // Switch to the source directory
D: /stlport-5.0-0125/src> Copy vc71.mak makefile // Copy Makefile
D: /stlport-5.0-0125/src> nmake clean all // Compile (minutes ~)
D: /stlport-5.0-0125/src> nmake install
Note: There is a prompted prompt when running the Clean ALL: "The system cannot find the specified path." Because
The cause of the lib folder and the following documents do not exist.
After compiling, a "D: / Program Files2 / Microsoft Visual Studio .NET 2003 / VC7 / Include / Stlport" directory is added,
Nothing to use, ^ _ ^
8. Open the VS2003, Select Menu Tools "-" Options, pop up dialog box, select the left list box
"Project" - "VC Directory": Contains File Add "D: /stlport-5.0-0125/stlport",
The library file adds "D: /STLPORT-5.0-0125/lib", moved to the last one.
9. Use "D: /stlport-5.0-0125" next time without compilation, configure the path to contain the path.
10. The test uses Stlport, modify "f: / windows / system32"
"Stlport_VC71_STLDEBUG50.DLL" and "STLPORT_VC7150.DLL",
Changed to "_TLPORT_VC71_STLDEBUG50.DLL" and "_tlport_vc7150.dll", write one
Vector test program, run, pop up the error dialog.
This is OK. @ _ @
11. Written on 2004.12.22 22:22 Shenzhen Nanshan Science and Technology Park