CS284: Building a project with SThreads

Microsoft Visual C++ v5.0 Project Settings for SThreads

The following assumes that you already have a project created and ready to build. The example project has the SThreads and timing libraries in the default library folder.


Bring up the project settings in VC++.

Project, Settings (Alt+F7)

Select the C/C++ tab and go to the select the "Code Generation" from the Category drop down selection box.

Code Generation

The settings for the Win32 DEBUG project should have "Debug Multithreaded" selected for the "Use run-time library" selection box.

Debug Multithreaded run-time library selection

The settings for the Win32 Release project should have "Multithreaded" selected for the "Use run-time library" selection box.

Multithreaded run-time library selection

You can change which configuration you are setting values for by selecting the configuration from the "Settings For" selection box.

Changing configuration

Select the Link tab and add the SThreadsD.lib and TimingD.lib libraries to the list of libraries being linked for the Win32 DEBUG configuration. This is not case-sensitive.

Win32 DEBUG Link settings

Add the SThreads.lib and Timing.lib libraries to the list of libraries being linked for the Win32 Release configuration. This is not case-sensitive.

Win32 DEBUG Link settings

The project is now ready to be built with SThreads.


Copyright © 1997-98, Bradley J. Marker. Last updated Tuesday, October 14th, 1997. Send comments to cs284@cs.caltech.edu.