Apple Mach-O 链接器错误:命令 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 失败,退出代码 1

发布于 2024-12-05 18:18:50 字数 1647 浏览 0 评论 0原文

我搜索了又搜索,但在编译 Jack Audio iPhone 项目之一时遇到了麻烦。我对项目进行了现代化改造,并在编译时不断得到这个信息。想不通。

Ld /Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos/NetJackSlave.app/NetJackSlave normal armv7
cd /Users/zacharywilliams/trunk/jackmp/macosx/iphone
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos -L/Users/zacharywilliams/trunk/jackmp/macosx/iphone/build/Debug-iphonesimulator -F/Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos -filelist /Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Intermediates/iPhoneNet.build/Debug-iphoneos/iPhoneNetSlave.build/Objects-normal/armv7/NetJackSlave.LinkFileList -dead_strip libcelt.a -miphoneos-version-min=4.3 -framework Foundation -framework UIKit -framework CoreGraphics -framework AudioToolbox -o /Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos/NetJackSlave.app/NetJackSlave

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

感谢您的帮助!

扎克

I've searched and searched and am having trouble compiling one of the Jack Audio iPhone projects. I modernized the project and keep getting this when I compile. Can't figure it out.

Ld /Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos/NetJackSlave.app/NetJackSlave normal armv7
cd /Users/zacharywilliams/trunk/jackmp/macosx/iphone
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos -L/Users/zacharywilliams/trunk/jackmp/macosx/iphone/build/Debug-iphonesimulator -F/Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos -filelist /Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Intermediates/iPhoneNet.build/Debug-iphoneos/iPhoneNetSlave.build/Objects-normal/armv7/NetJackSlave.LinkFileList -dead_strip libcelt.a -miphoneos-version-min=4.3 -framework Foundation -framework UIKit -framework CoreGraphics -framework AudioToolbox -o /Users/zacharywilliams/Library/Developer/Xcode/DerivedData/iPhoneNet-bjquhpgcjgjaitgvrbiuaobtwtfy/Build/Products/Debug-iphoneos/NetJackSlave.app/NetJackSlave

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

Thanks for any help!

Zach

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

莳間冲淡了誓言ζ 2024-12-12 18:18:50

就我而言,我不小心导入了 .m 文件。

In my case, I was accidentally importing a .m file.

为你拒绝所有暧昧 2024-12-12 18:18:50

更新:嘿,请注意构建日志中的行:

Couldn't open shared capabilities memory GSCapabilities (No such file or directory). 

这是解决方案: 什么是“无法打开共享功能内存 GSCapability(没有此类文件或目录)”

UPDATE: Hey, note the line in your build log:

Couldn't open shared capabilities memory GSCapabilities (No such file or directory). 

Here is the solution: What is "Couldn't open shared capabilities memory GSCapabilities (No such file or directory)"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文