0
votes

I have a built boost library and linking is OK with

#include <boost/variant.hpp>

but when I add

#include <boost/variant.hpp>
#include <boost/date_timehpp>

I have link error

fatal error LNK1104: can not open the file "libboost_date_time-vc110-mt-s-1_55.lib"

I have a dynamic library configuration

why linker seeks static lib

I have libs in folder

...........\boost_1_55_0\stage\lib\libboost_date_time-vc110-mt-1_55.lib

...........\boost_1_55_0\stage\lib\libboost_date_time-vc110-mt-gd-1_55.lib

1
Give us full code. Yours doesn't help at all. - prq

1 Answers

0
votes

You are using /MT or /MTd option in C/C++/Code Generation/Runtime Library. This issue was disscused in - link