0

Hi.

I install SDKBOX gpg using cocos2dx 3.17 + ndk r16 + SDKBOX v2.4.0.2 gpg + android studio 3.1.3.

I did like as follwings,

===============================================================

$> sdkbox import gpg

  _______ ______  _     _ ______   _____  _     _

  |______ |     \ |____/  |_____] |     |  \___/

  ______| |_____/ |    \_ |_____] |_____| _/   \_

Copyright (c) 2016-2018 SDKBOX Inc. v1.0.1.39

test speed of hosts...

- test host main: 105.59KB/s.

- test host china: 0.00KB/s.

choose the fastest server 'main', speed is 105.59KB/s.

Installation Successful

failed to patch file AppDelegate.cpp

>>> WARNING <<<

Some installation steps failed.

Please refer to the online documentation, for instructions on how to complete the installation manually.

Installation completed with errors 😐

===============================================================

After sync was successful, while compile some error occured

===============================================================

[armeabi-v7a] Compile++ thumb: MyGame_shared <= AppDelegate.cpp

[armeabi-v7a] SharedLibrary : libMyGame.so

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::RejectConnectionRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::NearbyConnections::RejectConnectionRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::StartDiscovery(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int, int): error: undefined reference to 'gpg::NearbyConnections::StartDiscovery(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::chrono::duration<long long, std::__ndk1::ratio<1ll, 1000ll> >, gpg::IEndpointDiscoveryListener*)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::StopDiscovery(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::NearbyConnections::StopDiscovery(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::Disconnect(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::NearbyConnections::Disconnect(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::AcceptConnectionRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int): error: undefined reference to 'gpg::NearbyConnections::AcceptConnectionRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> > const&, gpg::IMessageListener*)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::SendConnectionRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int, int): error: undefined reference to 'gpg::NearbyConnections::SendConnectionRequest(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> > const&, std::__ndk1::function<void (long long, gpg::ConnectionResponse const&)>, gpg::IMessageListener*)'

 

... (too long so some are omitted..)

 

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::SendReliableMessage(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::NearbyConnections::SendReliableMessage(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::SendReliableMessage(std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::NearbyConnections::SendReliableMessage(std::__ndk1::vector<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::allocator<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > const&, std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(GPGNearbyConnections-android.o):function sdkbox::GPGNearbyConnectionsWrapper::SendUnreliableMessage(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::NearbyConnections::SendReliableMessage(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> > const&)'

 

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGAchievementWrapper::ShowAllUI(int): error: undefined reference to 'gpg::AchievementManager::ShowAllUI(std::__ndk1::function<void (gpg::UIStatus const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGSnapshotWrapper::Delete(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::SnapshotManager::Open(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, gpg::SnapshotConflictPolicy, std::__ndk1::function<void (gpg::SnapshotManager::OpenResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGSnapshotWrapper::FetchAll(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::SnapshotManager::FetchAll(gpg::DataSource, std::__ndk1::function<void (gpg::SnapshotManager::FetchAllResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGSnapshotWrapper::ShowSelectUIOperation(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::SnapshotManager::ShowSelectUIOperation(bool, bool, unsigned int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::function<void (gpg::SnapshotManager::SnapshotSelectUIResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGWrapper::CreateGameServices(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::GameServices::Builder::SetOnAuthActionStarted(std::__ndk1::function<void (gpg::AuthOperation)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGWrapper::CreateGameServices(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::GameServices::Builder::SetOnAuthActionFinished(std::__ndk1::function<void (gpg::AuthOperation, gpg::AuthStatus)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGWrapper::CreateGameServices(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::GameServices::Builder::SetOnTurnBasedMatchEvent(std::__ndk1::function<void (gpg::MultiplayerEvent, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, gpg::TurnBasedMatch)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGWrapper::CreateGameServices(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::GameServices::Builder::SetOnMultiplayerInvitationEvent(std::__ndk1::function<void (gpg::MultiplayerEvent, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, gpg::MultiplayerInvitation)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGSnapshotWrapper::Save(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::SnapshotManager::Open(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, gpg::SnapshotConflictPolicy, std::__ndk1::function<void (gpg::SnapshotManager::OpenResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function std::__ndk1::__function::__func<sdkbox::GPGSnapshotWrapper::Save(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)::{lambda(gpg::SnapshotManager::OpenResponse const&)#1}, std::__ndk1::allocator<{lambda(gpg::SnapshotManager::OpenResponse const&)#1}>, void (gpg::SnapshotManager::OpenResponse const&)>::operator()(gpg::SnapshotManager::OpenResponse const&): error: undefined reference to 'gpg::SnapshotMetadataChange::Builder::SetDescription(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function std::__ndk1::__function::__func<sdkbox::GPGSnapshotWrapper::Save(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)::{lambda(gpg::SnapshotManager::OpenResponse const&)#1}, std::__ndk1::allocator<{lambda(gpg::SnapshotManager::OpenResponse const&)#1}>, void (gpg::SnapshotManager::OpenResponse const&)>::operator()(gpg::SnapshotManager::OpenResponse const&): error: undefined reference to 'gpg::SnapshotManager::Commit(gpg::SnapshotMetadata const&, gpg::SnapshotMetadataChange const&, std::__ndk1::vector<unsigned char, std::__ndk1::allocator<unsigned char> >, std::__ndk1::function<void (gpg::SnapshotManager::CommitResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGQuestsWrapper::Fetch(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, int): error: undefined reference to 'gpg::QuestManager::Fetch(gpg::DataSource, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::function<void (gpg::QuestManager::FetchResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGQuestsWrapper::FetchList(int, int): error: undefined reference to 'gpg::QuestManager::FetchList(gpg::DataSource, std::__ndk1::function<void (gpg::QuestManager::FetchListResponse const&)>)'

/Users/peter/proj/test001/proj.android/app/jni/./plugingpg/libs_c++_static/armeabi-v7a/libPluginGPG.a(PluginGPG.o):function sdkbox::GPGQuestsWrapper::Accept(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&): error: undefined reference to 'gpg::QuestManager::Accept(gpg::Quest const&, std::__ndk1::function<void (gpg::QuestManager::AcceptResponse const&)>)'

 

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function gpg::SimpleOperationQueue::EnqueueAtFront(std::__1::function<void ()>): error: undefined reference to 'std::__1::recursive_mutex::lock()'

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function gpg::SimpleOperationQueue::EnqueueAtFront(std::__1::function<void ()>): error: undefined reference to 'std::__1::recursive_mutex::unlock()'

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function std::__1::unique_lock<std::__1::recursive_mutex>::unlock(): error: undefined reference to 'std::__1::recursive_mutex::unlock()'

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function std::__1::unique_lock<std::__1::recursive_mutex>::lock(): error: undefined reference to 'std::__1::recursive_mutex::lock()'

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function gpg::TimestampString(): error: undefined reference to 'std::__1::chrono::system_clock::to_time_t(std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1ll, 1000000ll> > > const&)'

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function .gpg_2404: error: undefined reference to 'std::__1::__next_prime(unsigned int)'

/Users/peter/proj/test001/proj.android/app/jni/./gpg/lib/c++/armeabi-v7a/libgpg.a:zero_copy_stream_impl_lite.cc:function .gpg_2404: error: undefined reference to 'std::__1::__next_prime(unsigned int)'

clang++: error: linker command failed with exit code 1 (use -v to see invocation)

===============================================================

Can anybody help?

games vex answered

    Best answer

    0
    htlxyz 1.99K Rep.

    we update gpg, plz wait our next release.

    and you can have a try with staging. sdkbox import gpg --staging

    htlxyz selected as best answer
      0

      v2.4.1.1 has fixed this issue. Thanks,

      happy wheels

      Sarah Perry answered
        0

        after working hours I often get stressed, temple run 2 it is not a pleasant feeling at all, but when I play run games 3 online it is very good, is there any friend like me

        games vex answered
          0

          Was it fixed?

           

          I'm trying to build empty project - passed. But after adding sdkbox import gpg iap facebook admob (one by one) - I got error:
          my_game/proj.android/app/jni/./pluginsdkboxads/libs_c++_static/armeabi-v7a/libPluginSdkboxAds.a(PluginSdkboxAds_AndroidProxy.o):function std::__ndk1::shared_ptr<sdkbox::JNIMethodInfo>::~sha
          red_ptr(): error: undefined reference to 'std::__ndk1::__shared_weak_count::__release_shared()'

          serpri edited answer

            Question stats

            • Active
            • Views1034 times
            • Answers4 answers
            • Followers1 follower

            Categories