Boost locale support
Hi I tried enabling boost locale for android by changing line 72 in build-android.sh:
LIBRARIES=--with-libraries=date_time,filesystem,program_options,regex,signals,system,thread,iostreams,locale
bjam also tries to build this but:
- iconv (libc) : no
- iconv (separate) : no
- icu : no
- icu (lib64) : no
- 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
Component configuration:
- atomic : not building
- chrono : not building
- context : not building
- date_time : building
- exception : not building
- filesystem : building
- graph : not building
- graph_parallel : not building
- iostreams : building
- locale : building
- math : not building
- mpi : not building
- program_options : building
- python : not building
- random : not building
- regex : building
- serialization : not building
- signals : building
- system : building
- test : not building
- thread : building
- timer : not building
- wave : not building
So I tried building ICU with these instructions and got them made:
I have a directory, but as I see boost needs a special directory as told here:
So I tried to overrride ./bjam with
./bjam --with-locale -sICU_PATH=<icu_dir> stage
but no luck, it still tells me the same error. As told the libs are there.
I hope someone can help on this and enable boost locale...
no one?
I've compiled boost::locale, check out this repo, branch "locale": https://github.com/pelya/Boost-for-Android/tree/locale Build script also compiles libicu on the fly, and resulting library should be linked with libicu and libandroid_support from the same directory. When compiling with it, you will probably need -I$(AndroidNDKRoot)/sources/android/support/include in compiler flags before system headers, because this lib overrides few header files.
Ahh cool!
Thank you very much!
I would have done it today, but you have taken it away. Now VCMI has a chance once again!
Am 25.11.2013 10:56, schrieb Sergii Pylypenko:
I've compiled boost::locale, check out this repo, branch "locale": https://github.com/pelya/Boost-for-Android/tree/locale Build script also compiles libicu on the fly, and resulting library should be linked with libicu and libandroid_support from the same directory. When compiling with it, you will probably need -I$(AndroidNDKRoot)/sources/android/support/include in compiler flags before system headers, because this lib overrides few header files.
— Reply to this email directly or view it on GitHub https://github.com/MysticTreeGames/Boost-for-Android/issues/50#issuecomment-29188913.
This could be included in the docs. Good catch!
On Mon, Nov 25, 2013 at 11:15 AM, Gerhard Stein [email protected]:
Ahh cool!
Thank you very much!
I would have done it today, but you have taken it away. Now VCMI has a chance once again!
Am 25.11.2013 10:56, schrieb Sergii Pylypenko:
I've compiled boost::locale, check out this repo, branch "locale": https://github.com/pelya/Boost-for-Android/tree/locale Build script also compiles libicu on the fly, and resulting library should be linked with libicu and libandroid_support from the same directory. When compiling with it, you will probably need -I$(AndroidNDKRoot)/sources/android/support/include in compiler flags before system headers, because this lib overrides few header files.
— Reply to this email directly or view it on GitHub < https://github.com/MysticTreeGames/Boost-for-Android/issues/50#issuecomment-29188913 .
— Reply to this email directly or view it on GitHubhttps://github.com/MysticTreeGames/Boost-for-Android/issues/50#issuecomment-29189997 .
Moritz Wundke www.MysticTreeGames.com www.DarkCultureGames.com http://www.darkculturegames.com/