Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install boost to the VS 2008?

I've almost completely installed Boost, but I have a problem with how to set my path to Boost in Tools->options->projects->VC++ Directories.

I've written the path to include files and libraries (my folder contains two subfolders, lib and include), but when I try to use Boost with #include boost/regex.hpp, I got this linking error:

LINK : fatal error LNK1104: cannot open file 'libboost_regex-vc90-mt-gd-1_36.lib

Could you please tell me how to install Boost correctly for Visual Studio 2008?

like image 218
chester89 Avatar asked Nov 01 '08 21:11

chester89


2 Answers

Use the Boost Installer by the Boost consulting group.

like image 131
Konrad Rudolph Avatar answered Sep 20 '22 00:09

Konrad Rudolph


You might be interested in the Visual Studio 2008 Feature pack. It adds many of the features that have only been available from Boost until now, the features that are part of the C++ TR1.

like image 45
John D. Cook Avatar answered Sep 22 '22 00:09

John D. Cook