
boost
只爱写代码
这个作者很懒,什么都没留下…
展开
-
无法打开文件“libboost_python-vc120-mt-sgd-1_59.lib”
libboost_python-vc120-mt-sgd-1_59.lib,其中mt表示多线程,sgd中的s表示runtime 是static,gd表示debug版本。 解决方法: b2 stage --with-python toolset=msvc threading=multi link=static runtime-link=static debug release...原创 2018-02-21 23:20:43 · 2744 阅读 · 1 评论 -
boost库编译安装以及Qt导入
1.下载boost安装包 https://www.boost.org/ 2.解压后进行编译安装 bootstrap .\b2 3.在qt中引用boost库 引用头文件 INCLUDEPATH += D:/boost/boost_1_70_0 引用库文件 LIBS += D:/boost/boost_1_70_0/stage/lib ...原创 2019-05-15 10:33:08 · 992 阅读 · 0 评论 -
Windows下cmake配置boost库
cmake_minimum_required(VERSION 3.14) project(boost_python) set(CMAKE_CXX_STANDARD 11) set(BOOST_ROOT D:/Libraries/boost_1_69_0) find_package(BOOST 1.69.0 COMPONENTS thread) if(Boost_FOUND) messa...原创 2019-06-15 20:27:12 · 6855 阅读 · 3 评论