Apple Mach-O 链接器错误:命令 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 失败,退出代码 1
我搜索了又搜索,但在编译 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
就我而言,我不小心导入了
.m
文件。In my case, I was accidentally importing a
.m
file.更新:嘿,请注意构建日志中的行:
这是解决方案: 什么是“无法打开共享功能内存 GSCapability(没有此类文件或目录)”
UPDATE: Hey, note the line in your build log:
Here is the solution: What is "Couldn't open shared capabilities memory GSCapabilities (No such file or directory)"