背景建模技术(八):bgslibrary_vs2010_mfc中boost的安装与配置
2023-09-14 08:57:58 时间
p br /p
p 在玩BGS Library时,有一个MFC的项目,在编译的过程中出现如下图的错误提示: /p
p >
【20160924】GOCVHelper MFC增强算法(5) CString ExportListToExcel(CString sExcelFile,CListCtrl* pList, CString strTitle) { CString warningStr; if (pList- GetItemCou...
【20160924】GOCVHelper MFC增强算法(4) //string替换 void string_replace(string & strBig, const string & strsrc, const string &strdst) { string::size_type pos=0; string::size_type srclen=strsrc.
int writeCsv(const string& filename,const VectorsrcVect,char separator ){ ofstream file(filename.
一、boost的下载与安装
在玩BGS Library时,有一个MFC的项目,在编译的过程中出现如下图的错误提示:
即:
1 e:\bgslibrary-master\vs2010mfc\src\stdafx.h(50): fatal error C1083: Cannot open include file: boost/lexical_cast.hpp: No such file or directory根本原因在于没有安装和配置boost,下面对bgslibrary_vs2010_mfc中boost的安装与配置做一个详解。
(1)、首先下载Boost C++ Libraries,下载地址是:http://www.boost.org/
(2)、将压缩包解压至C盘
(3)、编译源代码:在源代码中找到一个批处理bootstrap.bat,运行即可。
注:此时会弹出一个窗口,过一会之后,源代码中新增了1个文件bjam.exe
(4)、运行bjam.exe即编译,编译界面如下图所示:
二、bgslibrary_vs2010_mfc中boost的配置
第一步:
第二步:
第三步:
三、“error RC2135: file not found: Visual”的解决方法
在资源管理器中打开rc文件,另存为unicode格式的文件。然后再在VS2010中打开rc文件,进行编译即可。
四、“error RC2255: named STRINGTABLEs are not allowed”的解决办法
P.S:这个问题仍未解决,待后面解决之后更新此部分。
【20160924】GOCVHelper MFC增强算法(5) CString ExportListToExcel(CString sExcelFile,CListCtrl* pList, CString strTitle) { CString warningStr; if (pList- GetItemCou...
【20160924】GOCVHelper MFC增强算法(4) //string替换 void string_replace(string & strBig, const string & strsrc, const string &strdst) { string::size_type pos=0; string::size_type srclen=strsrc.
int writeCsv(const string& filename,const VectorsrcVect,char separator ){ ofstream file(filename.
相关文章
- Kali Linux 安装过程 超详细(图文并茂,通用版)
- CentOS下yum的安装及配置
- Jenkins下载_windows安装jenkins
- 【1】windows下安装OpenCV(4.3)+VS2017安装+opencv_contrib4.3.0配置
- Windows安装Redis并添加本地自启动服务的实例详解
- 阿里云服务器安装配置redis的方法并且加入到开机启动(推荐)
- Python的下载、安装、配置环境变量详解程序员
- Linux安装mysql5.7详解数据库
- Centos7上安装docker详解程序员
- Linux安装U盘:轻松实现跨平台文件数据传输(linux装u盘)
- 包Linux离线安装及使用指南(linux安装离线)
- 让你的Idea支持MySQL数据库:安装MySQL驱动(ideamysql驱动)
- Linux上安装Vim的简便方法(linux装vim)
- Linux安装SZ:一步一步指南(linux安装sz)
- 安装安装Oracle数据库:PHP与Oracle结合指南(phporacle源码)
- MySQL安装于何处?(mysql装在哪)
- Linux 中安装根证书的攻略(linux安装根证书)
- MacOS安装虚拟机:快速入门指南(macos安装虚拟机)
- CentOS5.4服务器配置yum安装Apache+php+Mysql
- Nginx单向认证的安装配置方法
- windows下wxPython开发环境安装与配置方法
- Memcached入门介绍(安装与配置)