【发布时间】:2011-08-28 20:58:07
【问题描述】:
在将所有“cocos2d 源”文件重新关联到我的项目以将其从 0.99.0 更新到 0.99.3 后,我收到以下构建错误。有什么线索可能导致这种情况,还是我必须使用适当的模板创建一个新项目并将适当的文件关联到新项目中?
PS。我没有升级到最新版本,因为它需要 Lion 或我尚未购买的 Apple 开发者许可证。
Building target “Puzzle” of project “Puzzle” with configuration “Debug”
Checking Dependencies
Ld "/Users/Sup3rpanda/Dev/My Projects/Builds/Debug-iphonesimulator/Puzzle.app/Puzzle" normal i386
cd "/Users/Sup3rpanda/Dev/My Projects/Puzzle"
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk "-L/Users/Sup3rpanda/Dev/My Projects/Builds/Debug-iphonesimulator" "-F/Users/Sup3rpanda/Dev/My Projects/Builds/Debug-iphonesimulator" -filelist "/Users/Sup3rpanda/Dev/My Projects/Builds/Puzzle.build/Debug-iphonesimulator/Puzzle.build/Objects-normal/i386/Puzzle.LinkFileList" -mmacosx-version-min=10.5 -all_load -ObjC -framework CoreGraphics -framework Foundation -framework OpenGLES -framework QuartzCore -framework UIKit -framework AudioToolbox -framework OpenAL -lz -framework AVFoundation "-lcocos2d libraries" -o "/Users/Sup3rpanda/Dev/My Projects/Builds/Debug-iphonesimulator/Puzzle.app/Puzzle"
ld: library not found for -lcocos2d libraries
collect2: ld returned 1 exit status
【问题讨论】:
标签: iphone cocos2d-iphone