试图X $ C $ 7.1Ç使用仪器,只有当编译器错误就加速文件 [英] Compiler error regarding Boost file ONLY when trying to use Instruments in Xcode 7.1

查看:183
本文介绍了试图X $ C $ 7.1Ç使用仪器,只有当编译器错误就加速文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了试图分析我的C ++ code以x code 7.1时,升压没有找到问题循环缓冲区文件,但在运行时,没有这样的错误code正常。

I get a Boost circular buffer file not found issue when trying to profile my C++ code in Xcode 7.1 but no such error when running the code normally.

在这里输入的形象描述

我需要传递一些参数到配置文件部分编辑方案

Do I need to pass some parameters to the Profile section in Edit Scheme?

在这里输入的形象描述

编辑:

我要补充一点,在同一个项目的#include&LT;升压/ lexical_cast.hpp&GT; <!/ code>并没有给出错误

I should add that in the same project #include <boost/lexical_cast.hpp> doesn't give an error!

推荐答案

这似乎仪器总是使用最新的SDK,即使主体工程没有。

It seems Instruments always uses the latest SDK, even when the main project doesn't.

我通过包括升压框架在最新的SDK中合适的地方解决了问题。

I solved the issue by including boost framework in the proper place within latest SDK.

这篇关于试图X $ C $ 7.1Ç使用仪器,只有当编译器错误就加速文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆