Page 1 of 1

My Experience with Cocos2d-x + Smartfox C++ on Android&iOS

Posted: 10 Apr 2016, 13:32
by chamroeun
Finally I got my iOS App Approved and my Android app successfully deployed. :D

I use:
-Cocos2d-x 2.2.6
-Latest version of Smartfox C++ client
-Boost 1.55
-NDK r10d
-XCode 6

It's painstaking hard. MAYBE BECAUSE I AM NOT C++ EXPERT.

A lot of thing here and there to fix to get it working ranging from compiling Boost to work on both iOS/Android and correct version of C++ to get it compiled with ton of warning. With so many paths to explore and failed.

I have to change some Smartfox C++ client code to get it working. :oops:
The C++ sample(FullHouse) on Smartfox Download section used old version of C++ client which doesn't support Unicode and that cause me a lot of headache because my App need Unicode.

Thanks;

Re: My Experience with Cocos2d-x + Smartfox C++ on Android&i

Posted: 11 Apr 2016, 07:35
by Lapo
Thanks for your feedback.
Can you give us more details as to what you needed to change in the API?

cheers

Re: My Experience with Cocos2d-x + Smartfox C++ on Android&i

Posted: 11 Apr 2016, 08:05
by chamroeun
Sorry I don't remember exactly. I think a few data type changes in a few place and comment out a few line of codes due to C++ standard different between Smartfox C++ client and the one I use. And only for iOS version, for Android, I don't need to update any code.

As you know, many variety of C++ compilers are there and some of them are not happy to live together.


Lapo wrote:Thanks for your feedback.
Can you give us more details as to what you needed to change in the API?

cheers