undefined reference to 'GamePlay::scene()

Wow, using C++ in ADT for Cocos2D-X feels like really going back in time!  The first problem I hit was after adding a second scene.  When I referenced it I got:

undefined reference to 'GamePlay::scene()'

when I tried to use it.

Turns out you have to manually reference all of your files in a file called which is in jni.

No comments:

Post a Comment