?[m2 tests from 1 test case ran.This is the Android Software Development Kit License Agreementġ.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. Otherwise, you might get a permission error when executing the GoogleTest # chmod 667 foo_unittestĬhmod 667 # /data/local/tmp/foo_unittest ![]() ![]() )Īfter pushing the shared library and executable over to the device, MAKE SURE to set the permission with the executable bit. (For anyone else who might be attempting to do this. Thank you! That help me moved past the roadblock and taught me something new! When I search for limits.h I can see that there are multiple versions within the NDK, what do I need to do to make it work? In file included from C:/Users/cchan/Desktop/sample//jni/foo_:1:0:Ĭ:/Android/android-ndk-r9d/sources/third_party/googletest/googletest/include/gtest/gtest.h:54:18: fatal error: limits: No such file or directory o C:/Users/cchan/Desktop/sample//obj/local/armeabi/objs/foo_unittest/foo_unittest.o msoft-float -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -IC:/Android/android-ndk-r9d/sources/Ĭxx-stl/system/include -IC:/Android/android-ndk-r9d/sources/third_party/googletest/googletest/include -IC:/Users/cchan/Desktop/sample//jni -DANDROID -Wa,-noexĮcstack -Wformat -Werror=format-security -IC:/Android/android-ndk-r9d/platforms/android-3/arch-arm/usr/include -c C:/Users/cchan/Desktop/sample//jni/foo_u Ocal/armeabi/objs/foo_unittest/foo_unittest.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale ![]() Compile thumb: foo_unittest <= foo_Ĭ:/Android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-g -MMD -MP -MF C:/Users/cchan/Desktop/sample//obj/l Install : libfoo.so => libs/armeabi/libfoo.soĬopy /b/y "C:\Users\cchan\Desktop\sample\\obj\local\armeabi\libfoo.so" "C:\Users\cchan\Desktop\sample\\libs\armeabi\libfoo.so" > NULĬ:/Android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-strip -strip-unneeded C:/Users/cchan/Desktop/sample Created foo.h, foo.cpp, foo_unit_test.cpp, copied from README.NDKĬ:\Users\cchan\Desktop\sample\jni>C:\Android\android-ndk-r9d\ndk-build V=1ĭel /f/q C:\Users\cchan\Desktop\sample\\libs\armeabi\libfoo.so >NUL 2>NUL $(call import-module,third_party/googletest)ģ. LOCAL_STATIC_LIBRARIES := googletest_main I have read the instructions described in \android-ndk-r9d\sources\third_party\googletest\README.NDK. > C:/Android/android-ndk-r9d/sources/third_party/googletest/googletest/include/gtest/gtest.h:54:18: fatal error: limits: No such file or directorycompilation terminated. ![]() I am trying to get GoogleTest example working with NDK r9d on Windows with is blocked by an error when compiling the test
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |