In Mali_OpenCL_SDK_v1.1.0
project libCommon compile to static library(./Common)
project libOpenCL compile to share library(./lib)
Hi yzl0208994,
libOpenCL.so is a stub library to satisfy the cross compiler. You will be using the native libOpenCL.so library on the device you are targetting, hence why that is a shared library.
libCommon.a can be either shared or static. We chose static in order to make it easier for deploying applications, as one binary instead of two.
If you have issues with mixing shared and static, you can look at changing the SDK to build libCommon as shared, and make sure to deploy that .so along with your application to make it work.
Kind Regards,
Michael McGeagh