Friday, 15 April 2011

c++ - Easier way to specify Additional Library locations in Visual studio 2013 -



c++ - Easier way to specify Additional Library locations in Visual studio 2013 -

when build boost library, vs 2013 developer prompt,

>bootstrap >b2

it generate lib files in subdirectory:

bin.v2

every library saved follows(example):

<path>\boost_1_55_0\bin.v2_x64\libs\log\build\msvc-12.0\debug\address-model-64\architecture-x86\link-static\log-api-winnt\threading-multi\libboost_log_setup-vc120-mt-gd-1_55.lib

now when seek build app uses logging, linker error because

file 'libboost_log_setup-vc120-mt-gd-1_55.lib' not opened. now, when specify location of file in linker properties of project , rebuild file missing:

libboost_system-vc120-mt-gd-1_55.lib

rinse , repeat , yet dependency pop up, libboost_date_time-vc120-mt-gd-1_55.lib , on, there smart way solve problem? building boost libraries in way boost build programm set them in 1 single folder or can configure visual studio search recursively libs?

someone else asked question on how build x64 libs bjam: 64-bit version of boost 64-bit windows

the reply contained reply concrete question: after bootstrap command, bjam command goes follows:

bjam --toolset=msvc-12.0 --build-type=complete allthelibs

where --toolset=msvc-12.0 corresponds visual studio 2013

and allthelibs subfolder containing boostlibs

c++ boost visual-studio-2013

No comments:

Post a Comment