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