如何选择编译boost后生成的库文件
编译boost的date_time库后生成了一堆库文件,如:
libboost_date_time-gcc-1_33_1.so
libboost_date_time-gcc-1_33_1.so.1.33.1
libboost_date_time-gcc.a
libboost_date_time-gcc-d-1_33_1.a
libboost_date_time-gcc-d-1_33_1.so
libboost_date_time-gcc-d-1_33_1.so.1.33.1
libboost_date_time-gcc-d.a
libboost_date_time-gcc-d.so
libboost_date_time-gcc-mt-1_33_1.a
libboost_date_time-gcc-mt-1_33_1.so
libboost_date_time-gcc-mt-1_33_1.so.1.33.1
libboost_date_time-gcc-mt.a
libboost_date_time-gcc-mt-d-1_33_1.a
libboost_date_time-gcc-mt-d-1_33_1.so
libboost_date_time-gcc-mt-d-1_33_1.so.1.33.1
libboost_date_time-gcc-mt-d.a
libboost_date_time-gcc-mt-d.so
libboost_date_time-gcc-mt.so
libboost_date_time-gcc.so
我在使用的时候应该具体链接那个呢?他们有什么区别?
libboost_date_time-gcc-1_33_1.so
libboost_date_time-gcc-1_33_1.so.1.33.1
libboost_date_time-gcc.a
libboost_date_time-gcc-d-1_33_1.a
libboost_date_time-gcc-d-1_33_1.so
libboost_date_time-gcc-d-1_33_1.so.1.33.1
libboost_date_time-gcc-d.a
libboost_date_time-gcc-d.so
libboost_date_time-gcc-mt-1_33_1.a
libboost_date_time-gcc-mt-1_33_1.so
libboost_date_time-gcc-mt-1_33_1.so.1.33.1
libboost_date_time-gcc-mt.a
libboost_date_time-gcc-mt-d-1_33_1.a
libboost_date_time-gcc-mt-d-1_33_1.so
libboost_date_time-gcc-mt-d-1_33_1.so.1.33.1
libboost_date_time-gcc-mt-d.a
libboost_date_time-gcc-mt-d.so
libboost_date_time-gcc-mt.so
libboost_date_time-gcc.so
我在使用的时候应该具体链接那个呢?他们有什么区别?
...全文
相关推荐
VS2017下Boost的编译
描述中的“一、下载Boost”指的是在开始编译之前,我们需要获取Boost的源代码包。Boost官方提供了不同版本的源代码供下载,用户可以根据自己的需求选择合适的版本进行下载。
boost库1.68版本windows下编译的dll和lib库
在本案例中,我们关注的是Boost库的1.68版本,该版本已在Windows环境下使用Visual Studio 2017进行编译,并生成了用于动态链接(dll)和静态链接(lib)的库文件。
配置及编译Boost
例如:- `#define BOOST_SYSTEM_NO_LIB`:这个宏告诉Boost编译器不要为`boost/system`库生成库文件。
VS2008编译boost1.38库图文教程
编译完成后,bjam会在Boost目录下生成编译好的库文件。在进行项目开发时,确保将这些库文件添加到你的项目配置中。5.
bjam.exe boost库编译使用的工具
**等待编译完成**:编译过程可能需要一段时间,因为它会为每个选定的 Boost 组件生成相应的库文件。6.


