Compilation Stlport and Boost

xiaoxiao2021-03-05  22

Environment: Win2K SVR SP4, VS.NET2K3, D: /STLPORT-5.0-0125, D: / Boost_1_32_0

Compile in the command, you must first execute "D: / Program Files / Microsoft Visual Studio .NET 2003 / Common7 / Tools / vsvars32.bat" to ensure that NMAKE can be used.

Stlport is not difficult, follow the install file in the compressed package:

1) Unzip, don't move things in Folder, save trouble. (Stlport's Folder name is not good, change it, it is also possible)

2) Put the Stlport directory into the PATH variable

3) Don't change your name! @@ 外外 无话 真

4) Go to the SRC directory, perform nmake -f vc71.mak prepare copy vc71.mak makefile nmake clean all nmake install nmake install 5) Compile completion! Don't forget to write the program, take the header and lib directory incrude to Path.

Boost is slightly troublesome:

1) Tools / build / jam_src, execute build.bat, get a bin.ntx86 directory, put the exe file Copy to the Boost root directory.

2) In the Boost root directory, execute set msvc_root = "d: / program files / microsoft Visual Studio .NET 2003 / VC7" SET VC7_ROOT = "D: / Program Files / Microsoft Visual Studio .NET 2003 / VC7" SET VISUALC = "D: / Program Files / Microsoft Visual Studio .NET 2003 / Vc7" SET JAM_TOOLSET = VISUALC SET PYTHON_VERSION = 2.4 SET PYTHON_ROOT = D: / python24 SET STLPORT_PATH = D: / SET STLPORT_VERSION = 5.0 bjam -sTOOLS = vc-7_1-stlport "-sbuild = release on" --prefix = d: / boost_1_32_0 --with-python-root = python_root install> install.log If Python is not installed, go to the two set, - with-python -root = python_root also removes if it does not need Stlport, remove the last two sets, -stools = VC-7_1-Stools change to -stools = VC-7_1 "-sbuild = release ON" is specified in Feature , Debug is compiled, 1G or more, Release but 100M ON is compiled with Stlport's iostream, default OFF, of course, if you do not need Stlport, this sentence is removed --prefix = d: / boost_1_32_0 is compiled The location of the Header, Lib Folder is stored. > Install.log outputs the process into the log file, and the problem is checked. Note: Only use the VC71 to completely have no problem, with stlport, Fail off 8 Targets, Waves 23 Targets by Skip :( LOG Shows all failed places are related to multithred, seek expert guidance !!! 3) boost Compiling time is much longer than stlport, I have IBM T40P to run almost 15mins. Don't forget include Header and LIB after completion

Refer to the top of the sky, thank you!

Have fun!

转载请注明原文地址:https://www.9cbs.com/read-33105.html

New Post(0)