how to install boost to the VS 2008?

2019-02-17 11:08发布

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?

3条回答
聊天终结者
2楼-- · 2019-02-17 11:29

Use the Boost Installer by the Boost consulting group.

查看更多
Deceive 欺骗
3楼-- · 2019-02-17 11:32

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.

查看更多
放荡不羁爱自由
4楼-- · 2019-02-17 11:36

Also checkout this post for instructions on how to build Boost yourself.

查看更多
登录 后发表回答