AirtestProject / Poco-SDK

https://github.com/AirtestProject/Poco
Apache License 2.0
284 stars 170 forks source link

Unable to integrate Poco-SDK in latest cocos2djs version 3.17 #29

Open fazilmajeeth opened 6 years ago

fazilmajeeth commented 6 years ago

Followed documentation but integration was not successful as the documentation needs to be updated for latest cocos-2d-js v3.17. Can someone help me in steps to get integrated in latest cocos?

adolli commented 6 years ago

(just copied from slack...)

There are really some problems with the libwebsockets. Because cocos2djs has the client part of libwebsockets while PocoSDK contains the whole libwebsockets. If the version of libwebsockets from PocoSDK mismatch the version of libwebsockets-client in cocos2djs, there will be compiling errors. 2 ways to overcome this issue. remove the libwebsockets-client part from cocos2djs, including the Makefile, if your app does not depend on it. Otherwise, replace the corresponding version of libwebsockets in PocoSDK.