Vc6 STLport-5.1.4 compilation, Installation

Source: Internet
Author: User

Vc6 STLport-5.1.4 compilation, Installation

1. Open the command line window, establish the VC environment, and execute % msvcdir %/vc98/bin/vcvars32.bat
2. Switch to % STLport-5.1.4 %/build/lib and execute configure-C msvc6-clean to compile the configuration. Where:
-C: select the compiler.
-Clear build configuration files after cleaning.
Run configure -- help to view more options and parameters.
3. Run nmake/fmsvc. Mak or nmake/fmsvc. Mak install, which copies the generated Library to the % STLport-5.1.4 %/lib directory after compilation. We recommend that you use the install parameter.
4.
Open vc6 and add include in tools> Options> directories.
Files path: % STLport-5.1.4 %/stlport, add Library
Files path: % STLport-5.1.4 %/lib, adjust the paths added to both to the first path location.
5.
Modify project options: Project-> Settings...-> C/C ++, select code for category
Generation, and then select debug in use run-time Library
Multithreaded. (For the release version, select multithreaded. If you want to use dynamic link, you must first compile the dynamic link version.
Stlport, and then select the corresponding DLL here)

Vc6 STLport-4.6.2 compilation, install [% STLport-4.6.2 % represents its path, such as C:/stlport, etc]
1 ./*****
A. Modify the vcvars32.bat file in.../vc98/bin and find
Set include = % msvcdir %/ATL/include; % msvcdir %/mfc/include; % include %
Set Lib = % msvcdir %/LIB; % msvcdir %/mfc/LIB; % lib %
Add the stlport path to the two statements as follows:
Set include = % STLport-4.6.2 %/stlport; % msvcdir %/ATL/include; % msvcdir %/mfc/include; % include %
Set Lib = % STLport-4.6.2 %/LIB; % msvcdir %/mfc/LIB; % lib %

(C:/stlport/lib does not exist yet, but you don't have to worry about it. stlport will be available after compiling)
****/

2. Open the command line window, create a VC environment, and execute % Microsoft Visual Studio %/vc98/bin/vcvars32.bat
3. nmake-F vc6.mak clean all (vc6 can also select vc6-unicode.mak files that support Unicode)
4. Configure VC:
Click Tools-options-directories in VC,
Select include files, add % STLport-4.6.2 %/stlport, and move to the beginning
Select library files, add % STLport-4.6.2 %/lib, and move to the beginning

---------------------------------------------------------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.