I've successfully ported my game to Cocos2d-x and it runs great on Linux, QNX, iOS and Mac. I've also setup the Android NDK and am able to successfully build and run the App on Android (all from the exact same sources, which is really neat !)
On Android there is however one strange thing happening: the SimpleJSON.cpp class I'm using is unable to parse correctly formated JSON strings. Im using this framework: https://github.com/MJPA/SimpleJSON
I've looked into the code, but I'm not much of a CPP expert to see what's (if any) wrong with it (it works on all platforms except Android and it compiles just fine).
I did notice the Class makes use of wchar_t quite extensively and I also understand that that might be a problem on Android.
Anyway I've been figuring out how to get this thing to work for the last 48 hours, but I failed miserably. Is there anyone out there that can point me in the right direction ?
Is there a compiler option that I forget to set ? Is this class just not going to work on Android ? How can I change the class to get it to function properly on Android also ?
All hints are welcome.
Rgds.