Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBaneTrapper

Posted 25 March 2013 - 06:28 AM

When installing MSVC there will generally be something like "Visual Studio XXXX Command Prompt" in your start menu. Use it, unlike a normal shell it will have the MSVC executables in the path and probably include several environment variables not normally set. Boost will use them to detect the compiler.
Navigate to the directory where you have unpacked Boost. Call bootstrap to build bjam. Then actually compile boost. How you actually do that is a question of what exactly you need, one of my lines is

bjam --stagedir=. --build-dir=./build-dir variant=release,debug threading=multi link=static runtime-link=static,shared --toolset=msvc stage
But that's basically just following what is already described on the Boost page on how to build it or what each setting means so i could build appropriately for me it.

I couldn't find how to build it on their home page. If you could refer me what each setting means so i could build appropriately for me it.

 

What i need is dynamic debug and release. for other settings i am unfamiliar what is their purpose.

Or is boost only static so i cant build dynamically?

 

EDIT:: Found this page

http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html thanks google.

Its building will see if its of any use


#1BaneTrapper

Posted 25 March 2013 - 06:17 AM

When installing MSVC there will generally be something like "Visual Studio XXXX Command Prompt" in your start menu. Use it, unlike a normal shell it will have the MSVC executables in the path and probably include several environment variables not normally set. Boost will use them to detect the compiler.
Navigate to the directory where you have unpacked Boost. Call bootstrap to build bjam. Then actually compile boost. How you actually do that is a question of what exactly you need, one of my lines is

bjam --stagedir=. --build-dir=./build-dir variant=release,debug threading=multi link=static runtime-link=static,shared --toolset=msvc stage
But that's basically just following what is already described on the Boost page on how to build it or what each setting means so i could build appropriately for me it.

I couldn't find how to build it on their home page. If you could refer me what each setting means so i could build appropriately for me it.

 

What i need is dynamic debug and release. for other settings i am unfamiliar what is their purpose.

Or is boost only static so i cant build dynamically?


PARTNERS