Shared library for Android

Jul 20, 2015 at 11:56 AM

I tried building library for android and succeeded as well. But the libraries are static and I want .so (i.e. dynamic libraries). I found a flag in CMakeCache.txt BUILD_SHARED_LIBS:BOOL and I made it ON. After that one .so file is generated in build folder, and then after some time it exits and that .so file is deleted as well.

Am i missing something else ? Please help !!
Jul 21, 2015 at 9:47 PM
Hi pankaj4288,

I haven't built an Android shared object file in a while. I assume you have seen the build instructions we have for Android on CodePlex.

I'm not sure when I will have a chance to try and rebuild the .so, but I think you are on the right track with BUILD_SHARED_LIBS, I would try just directly editing the CMakeLists.txt