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

时间:2011-09-22 06:08:50

标签: xcode compiler-warnings

我进行了搜索和搜索,无法编译其中一个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

感谢您的帮助!

扎克

2 个答案:

答案 0 :(得分:4)

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

答案 1 :(得分:1)

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

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

以下是解决方案:What is "Couldn't open shared capabilities memory GSCapabilities (No such file or directory)"