gpt4 book ai didi

c++ - 仅当尝试在 Xcode 7.1 中使用 Instruments 时出现有关 Boost 文件的编译器错误

转载 作者:行者123 更新时间:2023-11-30 05:36:38 24 4
gpt4 key购买 nike

我得到一个 Boost circular buffer file not found尝试在 Xcode 7.1 中分析我的 C++ 代码时出现问题,但正常运行代码时没有此类错误。

enter image description here

我是否需要将一些参数传递给 Edit Scheme 中的配置文件部分? ?

enter image description here

编辑:

我应该在同一个项目中添加它 #include <boost/lexical_cast.hpp>不会报错!

最佳答案

看起来 Instruments 总是使用最新的 SDK,即使主项目没有。

我通过在最新 SDK 中的适当位置包含 boost framework 解决了这个问题。

关于c++ - 仅当尝试在 Xcode 7.1 中使用 Instruments 时出现有关 Boost 文件的编译器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33505170/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com