首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从mac上的svn签出后,无法运行cocos2d-x工作副本项目

从mac上的svn签出后,无法运行cocos2d-x工作副本项目
EN

Stack Overflow用户
提问于 2015-05-11 20:17:38
回答 1查看 451关注 0票数 0

从svn检出后,我在尝试运行工作副本时遇到20个错误。所有这些错误都与libco2d/iOS.a文件有关。错误包括:-

Libtool /Users/blacklight/Library/Developer/Xcode/DerivedData/MyGame-ejvovhtqcttutnaznyjrcgednhao/Build/Products/Debug-iphoneos/libcocos2d\ /Users/blacklight/Desktop/cocos2d-x-3.4/projects/MyGame-copy/cocos2d/build PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:导出armv7 cd iOS.a导出IPHONEOS_DEPLOYMENT_TARGET=5.1.1/ /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/ :/usr/sbin:/sbin“/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot usrcocos2d/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/预置/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/ios -L/Users/blacklight/Desktop/cocos2d-x-3.4/projects/MyGame-copy/cocos2d/build/../external/websockets/prebuilt/ios -L/用户/blacklight/Desktop/cocos2d-x-3.4/projects/MyGame-copy/cocos2d/build/../external/chipmunk/prebuilt/ios /Users/blacklight/Library/Developer/Xcode/DerivedData/MyGame-ejvovhtqcttutnaznyjrcgednhao/Build/Intermediates/cocos2d_libs.build/Debug-iphoneos/libcocos2d\ /Users/blacklight/Library/Developer/Xcode/DerivedData -filelist /Objects-normal/armv7/libcocos2d\ iOS.LinkFileList -lwebsockets -lcurl -lssl -framework -framework -lpng -ljpeg -ltiff -lcrypto -lchipmunk -lwebp -lfreetype -o iOS.build/MyGame-ejvovhtqcttutnaznyjrcgednhao/Build/Products/Debug-iphoneos/libcocos2d\ iOS.a

错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到文件: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:-lwebsockets不是目标文件(库中不允许)错误:-lcurl找不到文件:-lcurl错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:文件不是对象文件(库中不允许)错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到以下对象的文件: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:错误:-lcurl:-lssl不是对象文件(库中不允许)错误:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到文件:应用程序错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:应用程序不是目标文件(库中不允许)错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到文件:-ljpeg错误:/ -lpng /Xcode。应用程序文件:应用程序不是对象文件(不允许在库中)错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到以下对象的文件:应用程序错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:-ljpeg不是对象文件(不允许在库中)错误:/ -ltiff /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到文件:应用程序错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:应用程序不是目标文件(库中不允许)错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到文件:-lchipmunk错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:应用程序不是对象文件(不允许在库中)错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到以下对象的文件:应用程序错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:文件:-lchipmunk不是对象文件(不允许在库中)错误:/ -lwebp /xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:找不到文件:文件错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:-lfreetype:-lfreetype不是目标文件(库中不允许)

EN

回答 1

Stack Overflow用户

发布于 2016-02-24 08:27:08

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30167418

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档