Cocos2D usando Theos

Actualmente estoy tratando de build una aplicación con Cocos2D y Theos, pero sin éxito.

Tengo un Jailbroken iPhone 4S (iOS 7.0.4) con:

  • SDK 7.0
  • Sonido metálico
  • LLVM
  • LD64

pero no tiene una Mac.

Cuando ejecuto el command make, imprime muchos errores:

Making all for application TestCocos2D... Copying resource directories into the application wrapper... Linking application TestCocos2D... Undefined symbols for architecture armv7: "_CCNextPOT", referenced from: -[CCLabelTTF createTextureWithAttributedString:useFullColor:] in CCLabelTTF.m.bd6d7c66.o -[CCLabelTTF createTextureWithString:useFullColor:] in CCLabelTTF.m.bd6d7c66.o -[CCRenderTexture initWithWidth:height:pixelFormat:depthStencilFormat:] in CCRenderTexture.m.bd6d7c66.o ........... "_kmMat4PerspectiveProjection", referenced from: -[CCDirectorIOS setProjection:] in CCDirectorIOS.m.bd6d7c66.o "_kmVec3Fill", referenced from: -[CCDirectorIOS setProjection:] in CCDirectorIOS.m.bd6d7c66.o "_kmVec3TransformCoord", referenced from: -[CCDirector convertToGL:] in CCDirector.m.bd6d7c66.o -[CCDirector convertToUI:] in CCDirector.m.bd6d7c66.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [obj/TestCocos2D.app/TestCocos2D.64873355.unsigned] Error 1 make[1]: *** [internal-application-all_] Error 2 make: *** [TestCocos2D.all.application.variables] Error 2 

Makefile :

 export TARGET = iphone:clang export TARGET_SDK_VERSION = 7.0 export TARGET_IPHONEOS_DEPLOYMENT_VERSION = 7.0 export ARCHS = armv7 include theos/makefiles/common.mk APPLICATION_NAME = TestCocos2D TestCocos2D_FILES = Libraries/cocos2d/Platforms/iOS/CCAppDelegate.m Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.m Libraries/cocos2d/Platforms/iOS/CCES2Renderer.m Libraries/cocos2d/Platforms/iOS/CCGLView.m Libraries/cocos2d/Platforms/iOS/UITouch+CC.m Libraries/cocos2d/CCAction.m Libraries/cocos2d/CCActionCatmullRom.m .... Libraries/cocos2d/cocos2d.m main.m Classes/AppDelegate.m Classes/HelloWorldScene.m Classes/IntroScene.m TestCocos2D_FRAMEWORKS = UIKit CoreGraphics include $(THEOS_MAKE_PATH)/application.mk 

Carpeta :

  • controlar
  • makefile
  • main.m

Clases

  • AppDelegate.h
  • HelloWorldScene.h
  • IntroScene.h
  • AppDelegate.c
  • HelloWorldScene.c
  • IntroScene.c

Bibliotecas

  • enlace a cocos2d
  • enlace a cocos2d-ui
  • enlace a kazmath
  • enlace a ObjectAL

Newton

Recursos

Enlace a theos

Entonces, ¿cómo podría resolver esos problemas? ¿Qué debería parecerse al makefile y al directory? ¿Hay alguna manera de crear un Framwork y usarlo como UIKit o CoreGraphics en el makefile?

Muchas gracias por adelantado.