Boost linking, Visual Studio & version control

后端 未结 5 1726
南方客
南方客 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-18 23:59

    I use the BOOST_ROOT environment variable for some stuff, and it works OK. You have to manually create it, and then set the paths in the project files as "$(BOOST_ROOT)\include" and "$(BOOST_ROOT)\lib" (or whatever your layout uses). Everyone then has to set BOOST_ROOT on their machines to point to their Boost install.

提交回复
热议问题