从mac

时间:2015-05-11 12:17:38

标签: cocos2d-x cocos2d-x-3.0

我在从svn退房后尝试运行工作副本时遇到20个错误。所有这些错误都与libcoco2d / iOS.a文件有关。 错误是: -

Libtool / Users / blacklight / Library / Developer / Xcode / DerivedData / MyGame-ejvovhtqcttutnaznyjrcgednhao / Build / Products / Debug-iphoneos / libcocos2d \ iOS.a normal armv7     cd /Users/blacklight/Desktop/cocos2d-x-3.4/projects/MyGame-copy/cocos2d/build     export IPHONEOS_DEPLOYMENT_TARGET = 5.1.1     export 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/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS8.1.sdk -L / Users / blacklight / Library / Developer / Xcode / DerivedData / MyGame-ejvovhtqcttutnaznyjrcgednhao / Build / Products / Debug-iphoneos -L / Users / blacklight / Desktop / cocos2d-x-3.4 / projects / MyGame- copy / cocos2d / build /../ external / png / prebuilt / ios -L / Users / blacklight / Desktop / cocos2d-x-3.4 / projects / MyGame-copy / cocos2d / build /../ external / jpeg / prebuilt / ios -L / Users / blacklight / Desktop / cocos2d-x-3.4 / projects / MyGame-copy / cocos2d / build /../ external / tiff / prebuilt / ios -L / Users / blacklight / Desktop / cocos2d-x-3.4 /projects/MyGame-copy/cocos2d/build/../external/webp/prebuilt/ios -L / Users / blacklight / Desktop / cocos2d-x-3.4 / projects / MyGame-copy / cocos2d / build /../ external / freetype2 / prebuilt / ios -L / Users / blacklight / Desktop / cocos2d-x-3.4 / projects / MyGame-copy / cocos2d / build /../ external / curl / prebuilt / io s -L / Users / blacklight / Desktop / cocos2d-x-3.4 / projects / MyGame-copy / cocos2d / build /../ external / websockets / prebuilt / ios -L / Users / blacklight / Desktop / cocos2d-x-3.4 /projects/MyGame-copy/cocos2d/build/../external/chipmunk/prebuilt/ios-filelist/Users/blacklight/Library/Developer/Xcode/DerivedData/MyGame-ejvovhtqcttutnaznyjrcgednhao/Build/Intermediates/cocos2d_libs.build/Debug- iphoneos / libcocos2d \ iOS.build/Objects-normal/armv7/libcocos2d \ iOS.LinkFileList -lwebsockets -lcurl -lssl -framework Foundation -lpng -ljpeg -ltiff -lcrypto -lchipmunk -lwebp -lfreetype -o / Users / blacklight / Library / Developer / Xcode / DerivedData / MyGame-ejvovhtqcttutnaznyjrcgednhao / Build / Products / Debug-iphoneos / libcocos2d \ iOS.a

错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lwebsockets 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lwebsockets不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lcurl 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lcurl不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lssl 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lssl不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lpng 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lpng不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-ljpeg 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-ljpeg不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-ltiff 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-ltiff不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lcrypto 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lcrypto不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lchipmunk 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lchipmunk不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lwebp 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lwebp不是目标文件(库中不允许) 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:无法找到以下文件:-lfreetype 错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:file:-lfreetype不是目标文件(库中不允许)

1 个答案:

答案 0 :(得分:0)

默认情况下,SVN不包含cocos2d / external文件夹下的预建* .a文件。重新复制cocos2d文件夹并手动包含这些文件。