0

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

YuryL
  • 1
  • 4

1 Answers1

0

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

Community
  • 1
  • 1
Idan Yehuda
  • 524
  • 7
  • 21