fbpx

Need to install Boost on your Visual C++ and Visual Studio ? Follow these instructions

(Last Updated On: May 20, 2014)

Need to install Boost on your Visual C++ and Visual Studio ? Follow these instructions

You don’t have to “install” Boost in Visual Studio. What you need is to point your IDE (in this case Visual Studio) to the folders which contain the Boost headers and the lib files (if you have built Boost – some Boost libraries are header-only, some need to be built). Take a look at Boost Getting Started for further details.

Quick start:

  • start your command prompt and go to the folder in which you have unzipped boost
  • execute bootstrap.bat
  • execute “.\bjam –build-type=complete stage” – this will build almost everything in Boost.

Note: make sure you have the VC++ compiler and linker in the environment variable PATH.

http://stackoverflow.com/questions/3529163/install-the-boost-library-in-visual-c-2008

Updated:

http://stackoverflow.com/questions/2629421/how-to-use-boost-in-visual-studio-2010

  1. Unzip Boost into a new directory.
  2. Start a 32-bit MSVC command prompt and change to the directory where Boost was unzipped.
  3. Run: bootstrap
  4. Run: b2 toolset=msvc-12.0 --build-type=complete --libdir=C:\Boost\lib\i386 install
    • For Visual Studio 2012, use toolset=msvc-11.0
    • For Visual Studio 2010, use toolset=msvc-10.0
  5. Add C:\Boost\include\boost-(version) to your include path.
  6. Add C:\Boost\lib\i386 to your libs path.

Join my FREE newsletter to see how we proceed with Boost and C++ 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Subscribe For Latest Updates

Sign up to best of business news, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.

NOTE!

Check NEW site on stock forex and ETF analysis and automation

Scroll to Top