¡@

Home 

2014/10/16 ¤W¤È 08:16:31

android Programming Glossary: irrlicht

Android NDK linking

http://stackoverflow.com/questions/10593987/android-ndk-linking

I am of any use to you. The following is how I create my 2nd library In my case I build bullet physics library and the irrlicht rendering engine as 2 separate libraries for my game . LOCAL_PATH call my dir include CLEAR_VARS LOCAL_C_INCLUDES HEADER.. LOCAL_LDLIBS ldl llog include BUILD_SHARED_LIBRARY Then copy your libxxxx.so In my case libbullet.so and libirrlicht.so to your jni folder. And in your main library .mk file add the following. LOCAL_PATH call my dir include CLEAR_VARS LOCAL_C_INCLUDES.. bullet LOCAL_SRC_FILES libbullet.so include PREBUILT_SHARED_LIBRARY include CLEAR_VARS LOCAL_C_INCLUDES includes for irrlicht LOCAL_MODULE irrlicht LOCAL_SRC_FILES libirrlicht.so include PREBUILT_SHARED_LIBRARY include CLEAR_VARS LOCAL_C_INCLUDES..