Error: Could not find the following Boost libraries:boost_serialization
来源:互联网 发布:达内大数据培训学费 编辑:程序博客网 时间:2024/05/22 05:17
Boost 1.59.0, CMake 3.7.2
使用CMake编译时出现以下错误:
无法找到以下库,但是编译好的库中是有libboost_serialization, libboost_system等这些文件的,就是链接不到,
因为Boost有静态和动态库,编译时两者都是需要编译的,如果按常规方法这些库就没有编译。
解决方面如下:
bjam.exe toolset=msvc-12.0 --build-type=complete address-model=64 --with-serialization --with-system --with-date_time --with-regex --with-filesystem --with-timer --with-chrono --with-program_options --stagedir="X:\X\Boost" stage
就是加上你所缺少的库,之后Boost\lib中就会出现 以下文件:
就是加上你所缺少的库,之后Boost\lib中就会出现 以下文件:
这些就是我们所需要的文件,然后再次configure,成功!
阅读全文
1 0
- Error: Could not find the following Boost libraries:boost_serialization
- 编译kinfu过程中遇到的问题,CMake提示:Could not find the following Boost libraries: boost_sysytem boost_thread
- IAR报错could not find the following source file
- 编译Mesa:configure: error: Could not find llvm shared libraries
- Error:Could not find com.android.tools.build:gradle:2.14.1-all. Searched in the following locations:
- ERROR The requested URL could not be retrieved The following error was encountered
- Myeclipse 启动时 could not find the virtual machine by searching following...
- Error: Application server fails to start with the following error WSNAT_CAT:1008: ERROR: Could not establish listening address o
- openwrt生成pkg error:missing dependencies for the following libraries
- could not find the adb
- 『Android/Java』Android Studio XML Editor Preview Error:The following classes could not be found
- The following control could not be licensed: TXTextControl.TextControl解决方法
- Android The following classes could not be instantiated
- Could not load the following font :pdfFontName : STSong-Light问题
- Rendering Problems The following classes could not be found
- 解决方案-Rendering Problems-The following classes could not be instantiated:
- android Rendering Problems :The following classes could not be instantiated
- ERROR:Could not find *.apk!的解决方案。
- 在Web应用中增加邮件发送功能
- Softmax分类函数
- 2小时学会Linux基础
- 2017最新详解Android中对话框之PopupWindow(悬浮框)
- 第二节 Scala的函数定义
- Error: Could not find the following Boost libraries:boost_serialization
- JNDI学习总结(一)——JNDI数据源的配置
- 剑指offer:输入一个链表,输出该链表中倒数第k个结点。
- vue.js和mvvm小细节
- 微信小程序swiper组件实现图片宽度自适应
- Log4j 配置详解
- 简单的数据库表到对象的ORM映射
- MySQL
- NoSuchElementException