Boost linking, Visual Studio & version control

后端 未结 5 1690
南方客
南方客 2021-01-18 23:19

I\'m using Visual Studio 2008, and writing some stuff in C++. I\'m using a Boost library (that is not header only).

So, linking to Boost requires one to add

5条回答
  •  后悔当初
    2021-01-19 00:02

    Adding the Boost paths to "Visual C++ Directories" should work. You should add include path \boost_1_39_0 (no boost at the end)
    and library path \boost_1_39_0\bin.v2\lib (bin.v2 is a stage dir that could be different in you case).

    Personally, I store boost sources in my source control and use relative paths in project settings.

提交回复
热议问题