Ios Xcode项目:找不到-lmp3lame的库

Ios Xcode项目:找不到-lmp3lame的库,ios,xcode,linker,Ios,Xcode,Linker,复制我的项目后发生此错误: Ld /Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Products/Debug-iphoneos/SmartEdu.app/SmartEdu normal armv7s cd /Users/DBK/DEV/iOS/DaouIncube/KERIS/Source/code/trunk/app_binary/SmartEdu set

复制我的项目后发生此错误:

Ld /Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Products/Debug-iphoneos/SmartEdu.app/SmartEdu normal armv7s

cd /Users/DBK/DEV/iOS/DaouIncube/KERIS/Source/code/trunk/app_binary/SmartEdu

setenv IPHONEOS_DEPLOYMENT_TARGET 5.0

setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Products/Debug-iphoneos -L/Users/DBK/DEV/iOS/DaouIncube/KERIS/Source/code/trunk/app_binary/SmartEdu -F/Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Products/Debug-iphoneos -filelist /Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Intermediates/SmartEdu.build/Debug-iphoneos/Device-SmartEdu.build/Objects-normal/armv7s/SmartEdu.LinkFileList -dead_strip -ObjC -lxml2 -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=5.0 -framework MediaPlayer -framework AssetsLibrary -framework MobileCoreServices -framework AVFoundation -lxml2 -framework UIKit -framework Foundation -framework CoreGraphics -framework QuartzCore -lIN3EbookEngine_device -framework SystemConfiguration -lmp3lame -lNssoAgent-device -lz -Xlinker -dependency_info -Xlinker /Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Intermediates/SmartEdu.build/Debug-iphoneos/Device-SmartEdu.build/Objects-normal/armv7s/SmartEdu_dependency_info.dat -o /Users/DBK/Library/Developer/Xcode/DerivedData/SmartEdu-aqcslncevdjpaygiwxdpftddysjb/Build/Products/Debug-iphoneos/SmartEdu.app/SmartEdu

ld: library not found for -lmp3lame
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这里是图片


除了需要正确格式化错误,至少在错误周围放置一个代码块或其他东西之外,您可能还需要查看来自LLDB调试器的调试错误消息。clang/linker错误意味着在项目编译时找不到某个文件

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

^这是您应该注意的错误。它注意到没有为-lmp3lame找到库。这意味着在编译时,该库不存在。它可能不包括在链接类中,也可能不包括在您的建筑外的目标中,您可能没有正确引导框架的搜索路径/标题路径。由于上面提供的信息很少,可能会有各种各样的问题,这是你最好的答案

您需要在问题中发布代码和错误链接器找不到mp3lame。不要发布imgur链接-将错误消息复制/粘贴到您的问题中。抱歉。我刚刚编辑了我的帖子