cocos2d-x v 2.0 - glColor4f() undefined reference


#1

Hi all,

I encountered a problem while using Box2d. I wasn’t able to compile the project with GLES-Render.h included.
I wanted to use the debugdraw function to check the bodies.
Is there an updated version available for cocos2d-x 2.0? (The old version is attached to this post)

While searching for a solution for this problem I only found the Thread, where another one had a similar problem in Android, but since XCode and Eclipse are two pair of shoes, I don’t know how to proceed.

Thanks in advance.

  • Greetings from Switzerland!


GLES-Render.cpp.zip (1.2 KB)