Androidで動作するブースト1.64のプロジェクトがあります。ここで、 / libsboost::locale
に依存するライブラリを有効にする必要があります。https://github.com/pelya/libiconv-libicu-androidをダウンロードし、正常にコンパイルしました。次に、リストを追加しますICU
ICONV
(APPEND BOOST_FLAGS boost.locale.icu=on -sICU_PATH=MY_PATH/libiconv-libicu-android-master/armeabi-v7a -sICONV_PATH=MY_PATH/libiconv-libicu-android-master/armeabi-v7a)
私のcmakeファイルに。残念ながら、ブーストログにはまだ次のように表示されます。
Performing configuration checks
- 32-bit : no (cached)
- 64-bit : yes (cached)
- arm : yes (cached)
Boost C++ ライブラリの構築。
- symlinks supported : yes (cached)
- zlib : yes (cached)
- iconv (libc) : no (cached)
- iconv (separate) : no (cached)
- icu : no (cached)
- icu (lib64) : no (cached)
- Boost.Locale needs either iconv or ICU library to be built.
- Boost.Locale needs either iconv or ICU library to be built.
- Boost.Locale needs either iconv or ICU library to be built.
- Boost.Locale needs either iconv or ICU library to be built.
- Boost.Locale needs either iconv or ICU library to be built.
- Boost.Locale needs either iconv or ICU library to be built.
- has_icu builds : no (cached)
公式ドキュメントから、boost::locale
ICU ライブラリは共有ライブラリのように見えますが、libiconv-libicu-android は静的ライブラリのみを提供します。それは問題ですか?
誰かが助けてくれることを願っています、事前に感謝します。