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