How to link to dynamic boost libs?

后端 未结 3 1214
陌清茗
陌清茗 2020-11-28 06:46

I compiled boost lib and got these.

//Shared/dynamic link libraries

24/03/2010  11:25 PM            53,248 boost_thread-vc80-mt-1_42.dll
24/03/2010  11:25          


        
3条回答
  •  甜味超标
    2020-11-28 07:10

    You can force Boost to use the DLLs by defining BOOST_ALL_DYN_LINK - either in your C++ preprocessor settings or by a #define in your stdafx.h pre-compiled header, e.g.:

    #define BOOST_ALL_DYN_LINK

提交回复
热议问题