【caffe】win7+VS2013+Boost库配置
来源:互联网 发布:神武3手游狮驼数据 编辑:程序博客网 时间:2024/06/01 22:13
一.Boost编译预处理
boost官网下载:Boost 1.63.0
1.编译boost库时,进入目录运行bootstrap.bat,出现错误:
如下:
Building Boost.Build engine Failed to build Boost.Build engine. Please consult bootstrap.log for furter diagnostics. You can try to obtain a prebuilt binary from http://sf.net/project/showfiles.php?group_id=7586&package_id=72941 Also, you can file an issue at http://svn.boost.org Please attach bootstrap.log in that case.
2.method:在环境变量中的Path对应的项添加:C:\Windows\System32,重启电脑,问题解决。
二.VS2013环境配置
1.测试程序:
2.配置#include <boost/lexical_cast.hpp> #include <iostream> using namespace std;int main(){ using boost::lexical_cast; int a = lexical_cast<int>("123"); double b = lexical_cast<double>("123.0123456789"); string s0 = lexical_cast<string>(a); string s1 = lexical_cast<string>(b); cout << "number: " << a << " " << b << endl; cout << "string: " << s0 << " " << s1 << endl; int c = 0; try{ c = lexical_cast<int>("abcd"); } catch (boost::bad_lexical_cast& e){ cout << e.what() << endl; } system("pause"); return 0;}
(1)右键 选择 ->属性页--->C/C++,在 附加包含目录添加或编辑Boost的文件路径
(2)在 链接器 选项卡中,找到附加库目录,添加Boost的libs的目录:(3)测试成功:
0 0
- 【caffe】win7+VS2013+Boost库配置
- WIN7下,VS2013配置boost库
- boost库 win7 vs2013安装
- VS2013配置Boost库
- win10/win7 vs2013 配置caffe (CPU)
- win7,vs2013 caffe配置[Only CPU]
- VS2013下配置boost库
- win7/win8+VS2013+caffe配置并测试Mnist
- win7(64位)+VS2013+CUDA7.5+caffe 环境配置
- win7 64位 vs2013下配置caffe(CUDA8.0)
- Win7 配置caffe框架(VS2013 CUDA7.5 Win764位)
- caffe vs2013 win7 64编译
- 【caffe】win7+vs2013+安装NuGet
- VS2013中安装配置Boost库
- VS2013中安装、配置Boost库
- VS2013环境下Boost库配置
- vs2013安装配置C++boost库
- VS2013环境下Boost库配置
- Uri的使用场景
- Android蓝牙通讯
- 图像视觉领域部分新进展对应的开源代码
- 在代码中实现控件消失后另外的控件动画移动到消失控件的位置
- 自定义View起步:自定义属性一
- 【caffe】win7+VS2013+Boost库配置
- linux下In命令的使用
- 欢迎使用CSDN-markdown编辑器
- AngularJS学习:directive的scope
- ReactNative系列之一JSX
- 雄安新区炒房陷疯狂 有人后备箱装现金买下一层楼
- Hbase写数据,存数据,读数据的详细过程
- 计算不规则多边形的面积、中心、重心
- P1125 笨小猴