I installed SDKBOX and ran ‘sdkbox import googleplayservices’.
When I try to do ‘cocos compiler …’ I get -
…
[armeabi] StaticLibrary : flatbuffers.a
In file included from jni/…/…/…/Classes/PluginGPGCppHelper.cpp:2:0:
jni/Plugingpg/SdkboxGooglePlayWrappedObjects.h:13:43: fatal error: GPGRealtimeMultiplayerWrapper.h: No such file or directory #include “GPGRealtimeMultiplayerWrapper.h”
^
compilation terminated.
make: *** [obj/local/armeabi/objs-debug/MyGame_shared///__/Classes/PluginGPGCppHelper.o] Error 1
make: *** Waiting for unfinished jobs…
jni/…/…/…/Classes/AppDelegate.cpp:4:33: fatal error: PluginGPG/PluginGPG.h: No such file or directory #include “PluginGPG/PluginGPG.h”
^
compilation terminated.
Hi definitely some SDKBOX library wasn’t linked correctly as it doesnt see this file classes. Have a try with new project and see if there is any error about when doing import.
Thanks for the help. But this is a Windows --> Linux issue.
The directory plugingpg is referred to as plugingpg, PluginGPG and Plugingpg in the code.
Also the file GPGRealTimeMultiplayerWrapper.h is referred to as GPGRealtimeMultiplayerWrapper.h.
Linux sees the different capitalisations as different files.
I added symbolic links to each of these files with their aliases and it seemed to compile.