0
Getting started with Boost under Windows
- Download installer binary from Boostpro Computing and install.
- To build from Visual Studio IDE
Setting up #include paths in Microsoft Visual Studio
Right click the project name in the solution explorer > Properties > C/C++ > General > Additional Include Directories, enter the path to the Boost root directory, for example
C:\Program Files\boost\boost_1_42
In C++ code, include something like
#include <boost/lambda.hpp>
- To link from within Visual Studio IDE
Right click the project name in the solution explorer > Properties > Linker > General > Additional Library Directories, enter the path to the Boost root directory, for example
C:\Program Files\boost\boost_1_42\lib\
Post a Comment