[solved] Websocket in cocos2d js 3.0 error when compile

I got this error when i compile my project.
I use webcosket and I added #include “network/jsb_websocket.h”, sc->addRegisterCallback(register_jsb_websocket); to appDelegate.cpp file

help me please !!!

Seems your jsb_websocket.h have successfully been included but WebSocket.cpp haven’t been included in your compile sources. Please try to check that

This document can help you,i think. Sorry for Chinese only.
https://github.com/joshuastray/cocos-docs/blob/master/manual/framework/html5/jsb/jsb-extension/zh.md