Visual C++ 2010, BJAM, Boost library compile

Posted on 2011-04-30
Medium Priority
Last Modified: 2012-05-11
I inherited a project and to compile it I needed some additional libraries.
I downloaded the boost libraries from www.boost.org and now need to compile the boost library to create the file

libboost_system-vc100-mt-s-1_46_1.lib  (which my project says is missing when I try to build it)

the closest I get is using the BJAM compiler using the line

BJAM --with-system

this produces the libraries

I have tried a variety of angles on the bjam but have not found the magic answer yet
Question by:HLyder
1 Comment

Accepted Solution

HLyder earned 0 total points
ID: 35498076
Solution found... the options

BJAM --with-system --link=static --runtime-link=static

creates the lib version I needed.

Please set question as inactive

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question