2011-08-28 50 views
0

在将所有'cocos2d sources'文件重新关联到我的项目中以将其从0.99.0更新为0.99.3后,我得到了下面的构建错误。任何线索可能会导致这种情况,还是必须使用适当的模板创建一个新项目,并将正确的文件关联到新项目中?在关联新的cocos2d框架后找不到“-lcocos2d库的库”

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 

回答