Compiler error regarding Boost file ONLY when trying to use Instruments in Xcode 7.1

不打扰是莪最后的温柔 提交于 2019-12-13 02:58:20

问题


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?

EDIT:

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


回答1:


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

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



来源:https://stackoverflow.com/questions/33505170/compiler-error-regarding-boost-file-only-when-trying-to-use-instruments-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!