log4cplus库是否支持Android的c++共享运行库

Does log4cplus library supporting c++_shared runtime library for Android

本文关键字:c++ 共享 运行 Android 是否 支持 log4cplus      更新时间:2023-10-16

我正在为android编译log4cplus库&它需要c++运行时STL库。按

https://github.com/log4cplus/log4cplus/blob/master/android/android.toolchain.cmake

行号:835-837如下:

if( BUILD_WITH_ANDROID_NDK )
  if( NOT "${ANDROID_STL}" MATCHES "^(none|system|system_re|gabi\+\+_static|gabi\+\+_shared|stlport_static|stlport_shared|gnustl_static|gnustl_shared)$")
  message( FATAL_ERROR "ANDROID_STL is set to invalid value "${ANDROID_STL}".

不支持c++_shared &如何添加这两个库支持在log4cplus为Android?

请将android.toolchain.cmake文件替换为OpenCV中的文件。我稍后会更新log4cplus副本。