Hi,
I would like to integrate Nakama SDK into my game developed in iOS and Android with cocos2d-x 3.17.2.
I integrated it in iOS successfully but I’m facing some problems in Android.
I’ve already read the guide (https://heroiclabs.com/docs/cocos2d-x-client-guide/#setup-for-cmake-projects), but it didn’t help me.
I’m using:
- Cocos2d-x 3.17.2.
- NDK r16b.
- Android Studio 3.5.3
- cmake
I added these lines in my CMakeLists.txt:
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/nakama_cocos2d_sdk ${CMAKE_CURRENT_BINARY_DIR}/nakama-cpp)
target_link_libraries(${APP_NAME} ext_nakama-cpp)
This is the compile error I’ve when I add that lines:
What’s the problem?
Thanks.