android build error on building apk #2260
Answered
by
rh101
arungowda09
asked this question in
Q&A
|
I have a cocos2d project I have done porting to axmol ld: error: unable to find library -lext_ssl can anybody help me |
Answered by
rh101
Dec 10, 2024
Replies: 3 comments 6 replies
|
Those errors shouldn't be appearing at all. Are you somehow referencing those libraries from your |
0 replies
|
CMakeLists.txt and I have external lib sioclient files that is added in 3rdparty folder but its not added in cmake file but in main project Cmake reference added CMakeLists.txt |
5 replies
|
Is there any particular reason you do not want to use the websocket implementation in Axmol? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're using libwebsockets, which is included in Cocos2d-x, then you'll need to copy it over to your project along with libuv.
For example, make a folder named "thirdparty" in the root of your project, so it would be
{project_dir}/thirdparty.Now copy
websocket,uv, andcmakefolders from the Cocso2d-x external folder, and put them in the{project_dir}/thirdpartythat you created in your project. Thecmakefolder is required for the file namedCocosExternalConfig.cmake, which is referenced by the websocket and uv cmake files.To link these libraries to you project, open your
{project_dir}/CMakeListst.txt, and modify it to look something like this: