【VS开发】【C/C++开发】关于boost库的C++11导致的undefined符号问题
来源:互联网 发布:手机遥控ppt软件 编辑:程序博客网 时间:2024/06/05 00:09
undefined reference to boost::program_options::options_description::m_default_line_length
问题最终解决依靠的是如下的问题:
Visual Studio 2015: 版本boost_1_61_0有问题,重新利用Visual C++ 2015 x64编译也没用;
更新版本为boost_1_65_1后,利用x64编译则没问题 。
参考的解决方案说明如下:
There were changes to the <string>
class in the C++11 standard which may conflict with versions of the Boost library that were compiled with a non-C++11 compiler (such as G++-4.8). Try recompiling boost or using a version of C++ compiler that was used to compile your Boost libraries
http://www.boost.org/官网上对新版本的描述如下:
We aim to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization. Ten Boost libraries are included in the C++ Standards Committee's Library Technical Report (TR1) and in the new C++11 Standard. C++11 also includes several more Boost libraries in addition to those from TR1. More Boost libraries are proposed for standardization in C++17.
--------------
张朋艺 pyZhangBIT2010@126.com
2017-12-08
- 【VS开发】【C/C++开发】关于boost库的C++11导致的undefined符号问题
- 关于boost.regex库的编译问题(C/C++)
- 【VS开发】【C/C++开发】vs2015编译boost 64位
- 【VS-C++】WinSocket开发时提示无法解析的外部符号
- 【VS开发】【C/C++开发】memcpy和memmove的区别
- c开发 一个关于访问性的问题
- iOS开发C语言关于内存问题的总结
- 关于C语言的制表符号选择问题
- 【linux/c/c++】linux C的开发
- 关于c#WINFORM的开发文摘
- 关于C#WinForm开发的一些心得
- 【VS开发】MFC中调用C函数模块的解决方案
- 【VS开发】组播(多播)的C程序实战
- C语言的开发
- C语言开发应该注意的问题
- C++Primer &、*符号的多重定义问题
- ctrl+c 导致securt假死的问题
- 关于C/C ++ 编译器的问题
- 数据显示:中国的程序员是世界上最牛的程序员
- 如何做一名优雅的程序员
- 11个强大的Visual Studio调试小技巧
- Error:Not a NetCDF id
- html中url路径请求的六种方式:无斜杠、单斜杠(/)、点+单斜杠(./)、点点+单斜杠(../)、多个点点+单斜杠(../../)、全路径
- 【VS开发】【C/C++开发】关于boost库的C++11导致的undefined符号问题
- 常见爱忘的java基础语法
- Quartz任务并发处理
- c++对象创建
- bzoj 3196 Tyvj 1730 二逼平衡树(主席树)
- 计算几何【2】 判断凹凸多边形
- 第二十一讲 集合概述、ArrayList和LinkedList的应用
- numpy 维度与轴
- 日常shell 使用问题备忘