@masamune wrote:
Hi, I integrated sdkbox to use IAP into my game along with the manual.
I got following errors.[armeabi] StaticLibrary : libcocos2d.a [armeabi] StaticLibrary : libcocostudio.a [armeabi] StaticLibrary : libcocosbuilder.a [armeabi] StaticLibrary : libcocos3d.a [armeabi] StaticLibrary : libspine.a [armeabi] StaticLibrary : libui.a [armeabi] StaticLibrary : libcocosdenshion.a [armeabi] StaticLibrary : flatbuffers.a [armeabi] StaticLibrary : libextension.a [armeabi] StaticLibrary : libaudioengine.a [armeabi] StaticLibrary : libbox2d.a [armeabi] StaticLibrary : libnetwork.a [armeabi] StaticLibrary : libcocos2dxinternal.a [armeabi] StaticLibrary : librecast.a [armeabi] StaticLibrary : libbullet.a [armeabi] StaticLibrary : libcocos2dandroid.a [armeabi] StaticLibrary : libcpufeatures.a [armeabi] Gdbserver : [arm-linux-androideabi-4.9] libs/armeabi/gdbserver [armeabi] Gdbsetup : libs/armeabi/gdb.setup [armeabi] SharedLibrary : li bcocos2dcpp.so jni/src/IAPWrapper-android.cpp:96: error: undefined reference to 'sdkbox::Log::I sLevelActive(sdkbox::Log::Level)' jni/src/IAPWrapper-android.cpp:96: error: undefined reference to 'sdkbox::Log::G etStream()' jni/src/IAPWrapper-android.cpp:96: error: undefined reference to 'sdkbox::Log::G etStream()' jni/../../share/IAPWrapper.cpp:89: error: undefined reference to 'sdkbox::Log::p rintf(char const*, int, sdkbox::Log::Level, char const*, ...)' jni/../../share/IAPWrapper.cpp:131: error: undefined reference to 'sdkbox::Log:: printf(char const*, int, sdkbox::Log::Level, char const*, ...)' jni/../../share/IAPWrapper.cpp:182: error: undefined reference to 'sdkbox::Log:: printf(char const*, int, sdkbox::Log::Level, char const*, ...)' jni/../../share/IAPWrapper.cpp:188: error: undefined reference to 'sdkbox::Log:: printf(char const*, int, sdkbox::Log::Level, char const*, ...)' collect2.exe: error: ld returned 1 exit status make.exe: *** [obj/local/armeabi/libcocos2dcpp.so] Error 1 make.exe: Leaving directory `c:/Projects/MyGame/proj.android' Error running command, return code: 2. Traceback (most recent call last): File "C:\Projects\MyGame\proj.android\build_native.py", line 43, in <module>
I installed sdkbox by the installer.
sdkbox version isc:\Projects\MyGame\proj.android>sdkbox info _______ ______ _ _ ______ _____ _ _ |______ | \ |____/ |_____] | | \___/ ______| |_____/ | \_ |_____] |_____| _/ \_ Copyright (c) 2015 SDKBOX Inc. v1.0.0.9 installed packages: v2.1.2.7 googleplayservices v2.1.2.7 iap
cocos2dx version is 3.8.
How can I fix it?
Thanks.
Posts: 1
Participants: 1