gpt4 book ai didi

iphone - 在Xcode中找不到-lstdc++的库

转载 作者:行者123 更新时间:2023-12-02 16:42:21 33 4
gpt4 key购买 nike

我在我的应用程序中使用openCV2.framework。它可以在模拟器中正常运行,但不能针对iOS设备进行编译。它得到以下错误

ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我还添加了其他链接标志...

最佳答案

尝试使用libc++而不是stdc++。 (lib)std ++转到了GPLv3,因此Apple改用libc / c++。

关于iphone - 在Xcode中找不到-lstdc++的库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13934790/

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