ブースト ロギングが必要なコードをコンパイルしようとしましたが、gnustl でコンパイルしようとすると問題ありませんが、コンパイラを stlport に切り替えると、次のメッセージが表示されて大声で叫びます。
In file included from /boost/include/boost/log/attributes/attribute_value.hpp:23:0,
from /boost/include/boost/log/attributes/attribute_value_set.hpp:27,
from /boost/include/boost/log/core/record.hpp:21,
from /boost/include/boost/log/core/core.hpp:23,
from /boost/include/boost/log/core.hpp:20,
from /boost/include/boost/log/common.hpp:22,
from /MyApp/FrameWorkLog.cpp:30:
/boost/include/boost/log/utility/type_info_wrapper.hpp: In member function 'std::string boost::log::v2s_mt_posix::type_info_wrapper::pretty_name() const':
/boost/include/boost/log/utility/type_info_wrapper.hpp:131:33: error: '__cxa_demangle' is not a member of 'abi'
多くの理由で gnustl を使いたくありません。
詳細: 以下は、私の Application.mk ファイルの構成です。
NDK_TOOLCHAIN_VERSION=4.6
APP_ABI := armeabi-v7a
APP_PLATFORM := android-14
APP_STL := stlport_static # For Static build
APP_CPPFLAGS := -frtti -fexceptions
ブースト ライブラリのバージョン: 1.54.0
9c と 10b の両方の Android ndk でアプリをビルドしようとしましたが、違いはありませんでした。