在Xcode中制作allegro文件的副本

时间:2015-08-15 09:15:29

标签: xcode6 allegro5

所以我正在试验Allegro,我很高兴地创建图形基元,但我想制作不同的allegro文件!所以我试图用所有的allegro库制作一个重复的模板,因为每次都这样做会很痛苦。我还尝试复制并粘贴成功运行的文件夹,但也无效。我一直收到这个错误

  

链接器命令失败,退出代码为1(使用-v查看调用)

我进入构建阶段并将所有的allegro框架链接在一起,没有任何变化。

以下是错误消息

  

Ld /Users/catsonmars/Library/Developer/Xcode/DerivedData/okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm/Build/Products/Debug/MyGame.app/Contents/MacOS/MyGame normal x86_64       cd“/ Users / catsonmars / Documents / Programs / third try for allegro”       export MACOSX_DEPLOYMENT_TARGET = 10.10

     

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs /MacOSX10.10.sdk -L / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm / Build / Products / Debug -F / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm / Build / Products / Debug -F / Library / Frameworks -filelist / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm / Build / Intermediates / third \ try \ for \ allegro.build/Debug/MyGame.build/Objects -normal / x86_64 / MyGame.LinkFileList -Xlinker -rpath -Xlinker @executable_path /../ Frameworks -mmacosx-version-min = 10.10 -stdlib = libc ++ -fobjc-arc -fobjc-link-runtime -framework Allegro-5.1 -framework AllegroAcodec-5.1 -framework AllegroAudio-5.1 -framework AllegroColor-5.1 -framework AllegroDialog-5.1 -framework AllegroFont-5.1 -framewo rk AllegroImage-5.1 -framework AllegroMain-5.1 -framework AllegroMhysfile-5.1 -framework AllegroPrimitives-5.1 -framework AllegroTTF-5.1 -Xlinker -dependency_info -Xlinker / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong- gfhonrkyrxwrsrcyurtfmfyijtqm / Build / Intermediates / third \ try \ for \ allegro.build/Debug/MyGame.build/Objects-normal/x86_64/MyGame_dependency_info.dat -o / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm /建立/产品/调试/ MyGame.app /内容/的MacOS / MyGame

     

重复符号__al_mangled_main:       / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm / Build / Intermediates / third trial for allegro.build/Debug/MyGame.build/Objects-normal/x86_64/main1.o       / Users / catsonmars / Library / Developer / Xcode / DerivedData / okWhatsWrong-gfhonrkyrxwrsrcyurtfmfyijtqm / Build / Intermediates / third try for allegro.build/Debug/MyGame.build/Objects-normal/x86_64/main.o   ld:1个用于体系结构x86_64的重复符号   clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

0 个答案:

没有答案