¡@

Home 

2014/10/16 ¤W¤È 08:25:55

android Programming Glossary: test_library.c

Can't create shared library with static inside

http://stackoverflow.com/questions/7332679/cant-create-shared-library-with-static-inside

JNIEnv jobject jint jint #ifdef __cplusplus #endif #endif Test_Library.c #include Test_Library.h #include calc_mean.h JNIEXPORT jint.. jint b return mean a b I put this two files Test_Library.h Test_Library.c and calc_mean.h Test_Archive.a and create make file Android.mk.. CLEAR_VARS LOCAL_MODULE Test_Library LOCAL_SRC_FILES Test_Library.c LOCAL_LDLIBS LTest_Archive.a include BUILD_SHARED_LIBRARY but..

Can't create shared library with static inside

http://stackoverflow.com/questions/7332679/cant-create-shared-library-with-static-inside

II I JNIEXPORT jint JNICALL Java_com_Fido_OSTXLib_OSTX_JMean JNIEnv jobject jint jint #ifdef __cplusplus #endif #endif Test_Library.c #include Test_Library.h #include calc_mean.h JNIEXPORT jint JNICALL Java_com_Fido_OSTXLib_OSTX_JMean JNIEnv env jobject.. JNIEnv env jobject thiz jint a jint b return mean a b I put this two files Test_Library.h Test_Library.c and calc_mean.h Test_Archive.a and create make file Android.mk Android.mk LOCAL_PATH call my dir include CLEAR_VARS LOCAL_MODULE.. make file Android.mk Android.mk LOCAL_PATH call my dir include CLEAR_VARS LOCAL_MODULE Test_Library LOCAL_SRC_FILES Test_Library.c LOCAL_LDLIBS LTest_Archive.a include BUILD_SHARED_LIBRARY but when I want to create .so file the following error occurs..