无法使用Boost库在vs2013的C

无法使用Boost库在vs2013的C

本文介绍了无法使用Boost库在vs2013的C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经提取boost_1_55_0到(直接)我的C盘,然后,我用控制台(如管理员)来运行引导,然后\\ B2。毕竟这(和很长的时间),一切都完成了。然后,我打开我的项目,推选项卡上的我的项目和C ++的属性我包括额外的库(C:\\ boost_1_55_0),禁用precompiled头和链接器的常规设置,我添加addidtional库(C:\\ boost_1_55_0 \\舞台\\ LIB)。

I have extracted boost_1_55_0 to my C disk (directly), then, I used console (as admin) to run bootstrap and then .\b2. After all that (and a long time), everything was done. Then, I opened my project, pushed the properties on my project and for C++ tab I included additional library (C:\boost_1_55_0), disable precompiled headers and in linkers general settings, I added addidtional library (C:\boost_1_55_0\stage\lib).

我的程序运行得很好,如果我不包括升压什么,只是当我做(对前,我想包括的#include)时,停止编译并说

My program runs just fine if I am not including anything from boost, but just when I do (for ex, I tried including #include ), it stops compiling and says

C:\\ boost_1_55_0 \\升压/异常/ exception.hpp(161):错误C2955:'的std ::设置:使用类模板需要模板参数列表

C:\\ boost_1_55_0 \\升压/异常/ exception.hpp(161):错误C2838:'设置':在成员声明中非法限定名称

怎么回事任何想法?我没有使用任何提振作用,我只是想包括一个Boost库。

Any ideas whats going on? I am not using any boost functions, I am just trying to include one boost library.

编辑:
我整理我的main.cpp compeltely(只剩一个升压包括与主类本身)。现在它说,它是无法访问的.lib文件。我用windows 64位8.1。我想我这个做操作系统,因为它是那么糟糕,当谈到管理权限。

I trimmed my main.cpp compeltely (only left one boost include and main class itself). Now it says that it is unable to access .lib file. I use windows 8.1 64bit. I think I am done with this OS, since it is so messed up when it comes to admin rights.

推荐答案

1.55提升不支持VS 2013呢。

Boost 1.55 does not support VS 2013 yet.

引述:

的Visual Studio 2013发布很晚的释放过程,因此,
  存在一些尚未解决的问题。

所以,除非你愿意修补提升自己,你可能要等待下一次加速释放。

So unless you are willing to patch Boost yourself, you will probably have to wait for the next Boost release.

这篇关于无法使用Boost库在vs2013的C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 06:38