Search found 7 matches

by caldelta
05 Aug 2016, 08:39
Forum: SFS2X HTML5 / JavaScript API
Topic: Integrate Smartfox to cocos2d-js
Replies: 8
Views: 10153

Re: Integrate Smartfox to cocos2d-js

yes, as you said that is convoluted progress. By using JSB to allow javascript call native API have some limitations. And the boost library which is not simple C++ library for binding generator already. I was try to binding boost lib C++ first then your "Wrapper Smartfox" . But stuck at &q...
by caldelta
05 Aug 2016, 04:13
Forum: SFS2X HTML5 / JavaScript API
Topic: Integrate Smartfox to cocos2d-js
Replies: 8
Views: 10153

Re: Integrate Smartfox to cocos2d-js

Do you have plan to support it officially ? :(
by caldelta
04 Aug 2016, 10:09
Forum: SFS2X HTML5 / JavaScript API
Topic: Integrate Smartfox to cocos2d-js
Replies: 8
Views: 10153

Re: Integrate Smartfox to cocos2d-js

Yes, HTML5/JS library is pure Javascript therefore It is only work on WEB not on NATIVE Android and iOS.

Cocos2d-js provide a mechanism called "jsb" allow javascript call native API.

I wonder if i could use JSB to call native API of smartfox too ?
by caldelta
04 Aug 2016, 02:16
Forum: SFS2X HTML5 / JavaScript API
Topic: Integrate Smartfox to cocos2d-js
Replies: 8
Views: 10153

Re: Integrate Smartfox to cocos2d-js

Hi there,

How about 2 native: android and ios but use javascript as the developing language?
by caldelta
03 Aug 2016, 09:53
Forum: SFS2X HTML5 / JavaScript API
Topic: Integrate Smartfox to cocos2d-js
Replies: 8
Views: 10153

Integrate Smartfox to cocos2d-js

Hello, I am going to integrate smartfox to cocos2d-js, but i face some issues need to make clear. Currently, i have successful intergate smartfox to cocos2d-x ( using c++ client api) Now I need integrate it to cocos2d-js too. My expectation is I only need to write ONCE by javascript and able to comp...
by caldelta
11 Aug 2015, 19:54
Forum: SFS2X C++ API
Topic: Build SmartfoxClient API C++ on Mac
Replies: 2
Views: 8982

Re: Build SmartfoxClient API C++ on Mac

Fine, I need to add zLib library to project for it go successful.

But when i compile my source, it said

Code: Select all

libSmartFoxClientAPI.dylib, file was built for x86_64 which is not the architecture being linked (arm64): libSmartFoxClientAPI.dylib


How do I build the library link to arm64?
by caldelta
11 Aug 2015, 18:23
Forum: SFS2X C++ API
Topic: Build SmartfoxClient API C++ on Mac
Replies: 2
Views: 8982

Build SmartfoxClient API C++ on Mac

Hello I just build the latest C++ API 1.6.0 to integrate it to cocos2d-x version 3.7 Everything seem ok unless the error linker below: Using Eclipse and Cross G++ compiler and follow the tutorial here http://docs2x.smartfoxserver.com/GettingStarted/client-api-cpp . Do I missing something ? Please he...

Go to advanced search