conda install boost 后,libboost_python.lib 和 boost_python.lib 有什么区别
after conda install boost, what is the difference between libboost_python.lib and boost_python.lib
安装anaconda3 5.2后我用conda install boost安装boost。
在 C:\ProgramData\Anaconda3\Library\lib 中有两套用于 boost 的库。
boost_python36-vc140-mt-x64-1_67.lib (177 KB)
库boost_python36-vc140-mt-x64-1_67.lib (5576 KB)
这些有什么区别?是一静一动吗?
参考此 link 以了解这些库的命名。
https://www.boost.org/doc/libs/1_58_0/more/getting_started/windows.html#library-naming
以"lib"开头的是
Prefix: except on Microsoft Windows, every Boost library name begins
with this string. On Windows, only ordinary static libraries use the
lib prefix; import libraries and DLLs do not.
所以是静态库(libboost_python36-vc140-mt-x64-1_67.lib).
另一个没有lib前缀的,是import library(boost_python36-vc140-mt-x64-1_67.lib).
这里有一个关于导入库的很好的解释。
How does the Import Library work? Details?
安装anaconda3 5.2后我用conda install boost安装boost。
在 C:\ProgramData\Anaconda3\Library\lib 中有两套用于 boost 的库。
boost_python36-vc140-mt-x64-1_67.lib (177 KB)
库boost_python36-vc140-mt-x64-1_67.lib (5576 KB)
这些有什么区别?是一静一动吗?
参考此 link 以了解这些库的命名。
https://www.boost.org/doc/libs/1_58_0/more/getting_started/windows.html#library-naming
以"lib"开头的是
Prefix: except on Microsoft Windows, every Boost library name begins with this string. On Windows, only ordinary static libraries use the lib prefix; import libraries and DLLs do not.
所以是静态库(libboost_python36-vc140-mt-x64-1_67.lib).
另一个没有lib前缀的,是import library(boost_python36-vc140-mt-x64-1_67.lib).
这里有一个关于导入库的很好的解释。
How does the Import Library work? Details?