Mar
13
2010

 

If you are getting this kind of error when compiling with Cocos2d for iPhone, then see the solution below.

Line Location Tool:0: collect2: ld returned 1 exit status
Line Location Tool:0: symbol(s) not found
Line Location Tool:0: -[Texture2D(PVRTC) initWithPVRTCData:level:bpp:hasAlpha:length:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[Grabber beforeRender:] in Grabber.o
Line Location Tool:0: -[Grabber grab:] in Grabber.o
Line Location Tool:0: “_glGetIntegerv”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[Grabber afterRender:] in Grabber.o
Line Location Tool:0: -[Grabber beforeRender:] in Grabber.o
Line Location Tool:0: -[Grabber grab:] in Grabber.o
Line Location Tool:0: -[Grabber grab:] in Grabber.o
Line Location Tool:0: “_glBindFramebufferOES”, referenced from:
Line Location Tool:0: -[Texture2D(PVRTC) initWithPVRTCData:level:bpp:hasAlpha:length:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[PVRTexture createGLTexture] in PVRTexture.o
Line Location Tool:0: “_glGenTextures”, referenced from:
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[Director setAlphaBlending:] in Director.o
Line Location Tool:0: “_glBlendFunc”, referenced from:
Line Location Tool:0: _gluLookAt in glu.o
Line Location Tool:0: -[GridBase applyLandscape] in Grid.o
Line Location Tool:0: -[GridBase applyLandscape] in Grid.o
Line Location Tool:0: -[Director applyLandscape] in Director.o
Line Location Tool:0: -[Director applyLandscape] in Director.o
Line Location Tool:0: -[CocosNode transform] in CocosNode.o
Line Location Tool:0: -[CocosNode transform] in CocosNode.o
Line Location Tool:0: -[CocosNode transform] in CocosNode.o
Line Location Tool:0: -[CocosNode transform] in CocosNode.o
Line Location Tool:0: -[Camera locate] in Camera.o
Line Location Tool:0: “_glTranslatef”, referenced from:
Line Location Tool:0: -[TextureAtlas drawNumberOfQuads:] in TextureAtlas.o
Line Location Tool:0: -[Texture2D(Drawing) drawInRect:] in Texture2D.o
Line Location Tool:0: -[Texture2D(Drawing) drawAtPoint:] in Texture2D.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: “_glTexCoordPointer”, referenced from:
Line Location Tool:0: -[UIColor(OpenGL) setOpenGLColor] in UIColor-OpenGL.o
Line Location Tool:0: -[UIColor(OpenGL) setOpenGLColor] in UIColor-OpenGL.o
Line Location Tool:0: “_glColor4f”, referenced from:
Line Location Tool:0: -[TextureAtlas drawNumberOfQuads:] in TextureAtlas.o
Line Location Tool:0: -[Texture2D(Drawing) drawInRect:] in Texture2D.o
Line Location Tool:0: -[Texture2D(Drawing) drawAtPoint:] in Texture2D.o
Line Location Tool:0: _drawCircleDeprecated in Primitives.o
Line Location Tool:0: _drawPolyDeprecated in Primitives.o
Line Location Tool:0: _drawLineDeprecated in Primitives.o
Line Location Tool:0: _drawPointDeprecated in Primitives.o
Line Location Tool:0: _drawCircle in Primitives.o
Line Location Tool:0: _drawPoly in Primitives.o
Line Location Tool:0: _drawLine in Primitives.o
Line Location Tool:0: _drawPoints in Primitives.o
Line Location Tool:0: _drawPoint in Primitives.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: “_glVertexPointer”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[Grabber init] in Grabber.o
Line Location Tool:0: “_glGenFramebuffersOES”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glRenderbufferStorageOES”, referenced from:
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: “_glTexEnvi”, referenced from:
Line Location Tool:0: -[Director setDepthTest:] in Director.o
Line Location Tool:0: “_glDepthFunc”, referenced from:
Line Location Tool:0: -[Grabber beforeRender:] in Grabber.o
Line Location Tool:0: -[Director mainLoop] in Director.o
Line Location Tool:0: “_glClear”, referenced from:
Line Location Tool:0: -[Director mainLoop] in Director.o
Line Location Tool:0: -[CocosNode visit] in CocosNode.o
Line Location Tool:0: -[AtlasSpriteManager visit] in AtlasSpriteManager.o
Line Location Tool:0: “_glPopMatrix”, referenced from:
Line Location Tool:0: -[ParticleSystem initWithTotalParticles:] in Particle.o
Line Location Tool:0: “_glGenBuffers”, referenced from:
Line Location Tool:0: -[UIColor(OpenGL) setOpenGLClearColor] in UIColor-OpenGL.o
Line Location Tool:0: -[UIColor(OpenGL) setOpenGLClearColor] in UIColor-OpenGL.o
Line Location Tool:0: -[Grabber beforeRender:] in Grabber.o
Line Location Tool:0: -[Director initGLDefaultValues] in Director.o
Line Location Tool:0: “_glClearColor”, referenced from:
Line Location Tool:0: _kEAGLDrawablePropertyRetainedBacking$non_lazy_ptr in EAGLView.o
Line Location Tool:0: “_kEAGLDrawablePropertyRetainedBacking”, referenced from:
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[GridBase afterDraw:] in Grid.o
Line Location Tool:0: -[Director setDepthTest:] in Director.o
Line Location Tool:0: -[Director setTexture2D:] in Director.o
Line Location Tool:0: -[Director setAlphaBlending:] in Director.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: “_glDisable”, referenced from:
Line Location Tool:0: literal-pointer@__OBJC@__cls_refs@CAEAGLLayer in EAGLView.o
Line Location Tool:0: “.objc_class_name_CAEAGLLayer”, referenced from:
Line Location Tool:0: -[Grabber grab:] in Grabber.o
Line Location Tool:0: “_glCheckFramebufferStatusOES”, referenced from:
Line Location Tool:0: -[GridBase set3DProjection] in Grid.o
Line Location Tool:0: -[GridBase set3DProjection] in Grid.o
Line Location Tool:0: -[GridBase set2DProjection] in Grid.o
Line Location Tool:0: -[GridBase set2DProjection] in Grid.o
Line Location Tool:0: -[Director set3Dprojection] in Director.o
Line Location Tool:0: -[Director set3Dprojection] in Director.o
Line Location Tool:0: -[Director set2Dprojection] in Director.o
Line Location Tool:0: -[Director set2Dprojection] in Director.o
Line Location Tool:0: “_glMatrixMode”, referenced from:
Line Location Tool:0: literal-pointer@__OBJC@__cls_refs@EAGLContext in EAGLView.o
Line Location Tool:0: “.objc_class_name_EAGLContext”, referenced from:
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: _drawCircleDeprecated in Primitives.o
Line Location Tool:0: _drawPolyDeprecated in Primitives.o
Line Location Tool:0: _drawLineDeprecated in Primitives.o
Line Location Tool:0: _drawPointDeprecated in Primitives.o
Line Location Tool:0: _drawCircle in Primitives.o
Line Location Tool:0: _drawPoly in Primitives.o
Line Location Tool:0: _drawLine in Primitives.o
Line Location Tool:0: _drawPoints in Primitives.o
Line Location Tool:0: _drawPoint in Primitives.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: “_glDisableClientState”, referenced from:
Line Location Tool:0: -[EAGLView swapBuffers] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glBindRenderbufferOES”, referenced from:
Line Location Tool:0: -[Director setDepthTest:] in Director.o
Line Location Tool:0: “_glClearDepthf”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glScissor”, referenced from:
Line Location Tool:0: -[Director setDepthTest:] in Director.o
Line Location Tool:0: “_glHint”, referenced from:
Line Location Tool:0: _kEAGLColorFormatRGB565$non_lazy_ptr in EAGLView.o
Line Location Tool:0: _kEAGLColorFormatRGB565$non_lazy_ptr in Director.o
Line Location Tool:0: “_kEAGLColorFormatRGB565″, referenced from:
Line Location Tool:0: -[EAGLView _destroySurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _destroySurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glDeleteRenderbuffersOES”, referenced from:
Line Location Tool:0: -[EAGLView _destroySurface] in EAGLView.o
Line Location Tool:0: -[Grabber dealloc] in Grabber.o
Line Location Tool:0: “_glDeleteFramebuffersOES”, referenced from:
Line Location Tool:0: -[Texture2D dealloc] in Texture2D.o
Line Location Tool:0: -[PVRTexture dealloc] in PVRTexture.o
Line Location Tool:0: -[PVRTexture createGLTexture] in PVRTexture.o
Line Location Tool:0: “_glDeleteTextures”, referenced from:
Line Location Tool:0: -[TextureAtlas drawNumberOfQuads:] in TextureAtlas.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: “_glDrawElements”, referenced from:
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: “_glColor4ub”, referenced from:
Line Location Tool:0: -[ParticleSystem step:] in Particle.o
Line Location Tool:0: “_glBufferData”, referenced from:
Line Location Tool:0: -[Director mainLoop] in Director.o
Line Location Tool:0: -[CocosNode visit] in CocosNode.o
Line Location Tool:0: -[AtlasSpriteManager visit] in AtlasSpriteManager.o
Line Location Tool:0: “_glPushMatrix”, referenced from:
Line Location Tool:0: -[Texture2D(PVRTC) initWithPVRTCData:level:bpp:hasAlpha:length:] in Texture2D.o
Line Location Tool:0: -[PVRTexture createGLTexture] in PVRTexture.o
Line Location Tool:0: “_glCompressedTexImage2D”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glFramebufferRenderbufferOES”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glGenRenderbuffersOES”, referenced from:
Line Location Tool:0: _gluLookAt in glu.o
Line Location Tool:0: “_glMultMatrixf”, referenced from:
Line Location Tool:0: _kEAGLDrawablePropertyColorFormat$non_lazy_ptr in EAGLView.o
Line Location Tool:0: “_kEAGLDrawablePropertyColorFormat”, referenced from:
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem step:] in Particle.o
Line Location Tool:0: -[ParticleSystem step:] in Particle.o
Line Location Tool:0: “_glBindBuffer”, referenced from:
Line Location Tool:0: _gluPerspective in glu.o
Line Location Tool:0: “_glFrustumf”, referenced from:
Line Location Tool:0: +[Texture2D(GLFilter) applyTexParameters] in Texture2D.o
Line Location Tool:0: +[Texture2D(GLFilter) applyTexParameters] in Texture2D.o
Line Location Tool:0: +[Texture2D(GLFilter) applyTexParameters] in Texture2D.o
Line Location Tool:0: +[Texture2D(GLFilter) applyTexParameters] in Texture2D.o
Line Location Tool:0: “_glTexParameteri”, referenced from:
Line Location Tool:0: -[PVRTexture createGLTexture] in PVRTexture.o
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: “_glGetError”, referenced from:
Line Location Tool:0: -[CocosNode transform] in CocosNode.o
Line Location Tool:0: “_glScalef”, referenced from:
Line Location Tool:0: -[Grabber grab:] in Grabber.o
Line Location Tool:0: “_glFramebufferTexture2DOES”, referenced from:
Line Location Tool:0: -[Texture2D(Drawing) drawInRect:] in Texture2D.o
Line Location Tool:0: -[Texture2D(Drawing) drawAtPoint:] in Texture2D.o
Line Location Tool:0: _drawCircleDeprecated in Primitives.o
Line Location Tool:0: _drawPolyDeprecated in Primitives.o
Line Location Tool:0: _drawLineDeprecated in Primitives.o
Line Location Tool:0: _drawPointDeprecated in Primitives.o
Line Location Tool:0: _drawCircle in Primitives.o
Line Location Tool:0: _drawPoly in Primitives.o
Line Location Tool:0: _drawPoly in Primitives.o
Line Location Tool:0: _drawLine in Primitives.o
Line Location Tool:0: _drawPoints in Primitives.o
Line Location Tool:0: _drawPoint in Primitives.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: “_glDrawArrays”, referenced from:
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[GridBase afterDraw:] in Grid.o
Line Location Tool:0: -[Director setDepthTest:] in Director.o
Line Location Tool:0: -[Director setTexture2D:] in Director.o
Line Location Tool:0: -[Director setAlphaBlending:] in Director.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: “_glEnable”, referenced from:
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: “_glPointSizePointerOES”, referenced from:
Line Location Tool:0: -[TextureAtlas drawNumberOfQuads:] in TextureAtlas.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: “_glColorPointer”, referenced from:
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: “_glTexImage2D”, referenced from:
Line Location Tool:0: -[ParticleSystem dealloc] in Particle.o
Line Location Tool:0: “_glDeleteBuffers”, referenced from:
Line Location Tool:0: -[GridBase applyLandscape] in Grid.o
Line Location Tool:0: -[Director applyLandscape] in Director.o
Line Location Tool:0: -[CocosNode transform] in CocosNode.o
Line Location Tool:0: -[Camera locate] in Camera.o
Line Location Tool:0: “_glRotatef”, referenced from:
Line Location Tool:0: -[GridBase set3DProjection] in Grid.o
Line Location Tool:0: -[GridBase set3DProjection] in Grid.o
Line Location Tool:0: -[GridBase set2DProjection] in Grid.o
Line Location Tool:0: -[GridBase set2DProjection] in Grid.o
Line Location Tool:0: -[Director set3Dprojection] in Director.o
Line Location Tool:0: -[Director set3Dprojection] in Director.o
Line Location Tool:0: -[Director set2Dprojection] in Director.o
Line Location Tool:0: -[Director set2Dprojection] in Director.o
Line Location Tool:0: -[Camera locate] in Camera.o
Line Location Tool:0: “_glLoadIdentity”, referenced from:
Line Location Tool:0: -[TextureAtlas drawNumberOfQuads:] in TextureAtlas.o
Line Location Tool:0: -[Texture2D(PVRTC) initWithPVRTCData:level:bpp:hasAlpha:length:] in Texture2D.o
Line Location Tool:0: -[Texture2D(PVRTC) initWithPVRTCData:level:bpp:hasAlpha:length:] in Texture2D.o
Line Location Tool:0: -[Texture2D(Drawing) drawInRect:] in Texture2D.o
Line Location Tool:0: -[Texture2D(Drawing) drawAtPoint:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[Texture2D initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize:] in Texture2D.o
Line Location Tool:0: -[PVRTexture createGLTexture] in PVRTexture.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[GridBase afterDraw:] in Grid.o
Line Location Tool:0: “_glBindTexture”, referenced from:
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: -[TextureNode draw] in TextureNode.o
Line Location Tool:0: _drawCircleDeprecated in Primitives.o
Line Location Tool:0: _drawPolyDeprecated in Primitives.o
Line Location Tool:0: _drawLineDeprecated in Primitives.o
Line Location Tool:0: _drawPointDeprecated in Primitives.o
Line Location Tool:0: _drawCircle in Primitives.o
Line Location Tool:0: _drawPoly in Primitives.o
Line Location Tool:0: _drawLine in Primitives.o
Line Location Tool:0: _drawPoints in Primitives.o
Line Location Tool:0: _drawPoint in Primitives.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ParticleSystem draw] in Particle.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: -[ColorLayer draw] in Layer.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[LabelAtlas draw] in LabelAtlas.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[TiledGrid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: -[Grid3D blit] in Grid.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasSpriteManager draw] in AtlasSpriteManager.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: -[AtlasNode draw] in AtlasNode.o
Line Location Tool:0: “_glEnableClientState”, referenced from:
Line Location Tool:0: -[GridBase set2DProjection] in Grid.o
Line Location Tool:0: -[Director set2Dprojection] in Director.o
Line Location Tool:0: “_glOrthof”, referenced from:
Line Location Tool:0: -[EAGLView _createSurface] in EAGLView.o
Line Location Tool:0: -[GridBase set3DProjection] in Grid.o
Line Location Tool:0: -[GridBase set2DProjection] in Grid.o
Line Location Tool:0: -[Director set3Dprojection] in Director.o
Line Location Tool:0: “_glViewport”, referenced from:
Line Location Tool:0: _kEAGLColorFormatRGBA8$non_lazy_ptr in Director.o
Line Location Tool:0: “_kEAGLColorFormatRGBA8″, referenced from:

You need to include OpenGLES and QuartzCore Framework into the project, via the Targets->[TargetName]->Link Binary With Libraries.

Note: You can also do it from the Framework folder (shown below) but I suggest doing it here because there’s a chance that you might select a wrong Framework version if you do it from the other place. Should that happen, it is very difficult to fix, even changing the path sometimes does not work and the best might be to recerate the Xcode project.

DO NOT USE THE OPTION ABOVE

So, select Targets->[TargetName]->Link Binary With Libraries, like below:

You will then be presented with the dialog below.


Click the + button on the bottom left.  You will seee the dialog below.  Make sure you are selecting the right version, which is the SDK target that you se (mine is version version 3.0 in the example below). Select OpenGLES and QuartzCore.
Recompile and the error should be gone.

One Response to “Cocos2d for iPhone Compiling Hint”

  1. [...] Cocos2d for iPhone Compiling Hint [...]