Help, error when build Photon on Android.
Options
Hi all,
I try to setup and build Photon Android SDK (v4.1.0.4) with cocos2dx 3.10 and ndk r10e. I change Android.mk file follow this tutorial: https://recruit.gmo.jp/engineer/jisedai/blog/cocos2d-x_photon/
But when compile in terminal, i get more errors with sdk:
[armeabi] SharedLibrary : libcocos2dcpp.so
jni/../Photon-AndroidNDK-Sdk_v4-1-0-4/Common-cpp/inc/Dictionary.h:93: error: undefined reference to 'ExitGames::Common::DictionaryBase::DictionaryBase()'
jni/../Photon-AndroidNDK-Sdk_v4-1-0-4/Common-cpp/inc/Dictionary.h:93: error: undefined reference to 'ExitGames::Common::DictionaryBase::~DictionaryBase()'
jni/../Photon-AndroidNDK-Sdk_v4-1-0-4/Common-cpp/inc/Dictionary.h:106: error: undefined reference to 'ExitGames::Common::DictionaryBase::~DictionaryBase()'
....
I also change Android.mk follow Demos/demo_loadBalancing but when compile it still have same problem.
Anyone can help me?
I try to setup and build Photon Android SDK (v4.1.0.4) with cocos2dx 3.10 and ndk r10e. I change Android.mk file follow this tutorial: https://recruit.gmo.jp/engineer/jisedai/blog/cocos2d-x_photon/
But when compile in terminal, i get more errors with sdk:
[armeabi] SharedLibrary : libcocos2dcpp.so
jni/../Photon-AndroidNDK-Sdk_v4-1-0-4/Common-cpp/inc/Dictionary.h:93: error: undefined reference to 'ExitGames::Common::DictionaryBase::DictionaryBase()'
jni/../Photon-AndroidNDK-Sdk_v4-1-0-4/Common-cpp/inc/Dictionary.h:93: error: undefined reference to 'ExitGames::Common::DictionaryBase::~DictionaryBase()'
jni/../Photon-AndroidNDK-Sdk_v4-1-0-4/Common-cpp/inc/Dictionary.h:106: error: undefined reference to 'ExitGames::Common::DictionaryBase::~DictionaryBase()'
....
I also change Android.mk follow Demos/demo_loadBalancing but when compile it still have same problem.
Anyone can help me?
0
Comments
-
I have just solved this problem. Thank all.0