Coder Social home page Coder Social logo

icu4c-android's People

Contributors

patrickgold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

icu4c-android's Issues

Linking static files generated in cmake

Hi @patrickgold ,

I used the script cc-icu4c.sh for building static ICU files for x86 platform. I am able to generate .a files.

I have linked these libraries with my target using cmake command target_link_libraries().

But when I am accessing some methods in <unicode/unistr.h> I am getting linking error saying undefined symbol.

Can you help me, if I am missing something.

Build shared library failed

Hi,
When I use ndk23 to build static library, it's ok, but when build shard library, got the follow error:
tester@AAA:~/icu_android/icu4c-android$ ./cc-icu4c.sh build --arch=arm --library-type=shared
...
make[0]: Making all' in stubdata'
make[1]: Entering directory '/home/tester/icu_android/icu4c-android/build/android/arm/stubdata'
LC_ALL=C /usr/bin/sed -f /home/tester/icu_android/icu4c-android/icu/icu4c/source/config/make2sh.sed < /home/tester/icu_android/icu4c-android/icu/icu4c/source/config/mh-linux | grep -v '#M#' | uniq >> config/icu-config
cat /home/tester/icu_android/icu4c-android/icu/icu4c/source/config/icu-config-bottom >> config/icu-config
(deps) /home/tester/icu_android/icu4c-android/icu/icu4c/source/stubdata/stubdata.cpp
chmod u-w config/icu-config
make[1]: Leaving directory '/home/tester/icu_android/icu4c-android/build/android/arm/config'
Note: rebuild with "make VERBOSE=1 " to show all compiler parameters.
make[1]: *** No rule to make target 'armv7a-linux-androideabi', needed by 'all-local'. Stop.
make[1]: Leaving directory '/home/tester/icu_android/icu4c-android/build/android/arm/stubdata'
make: *** [Makefile:153: all-recursive] Error 2

Building for host failed

When I run the script on my machine, it will fail for checking whether the C compiler works... no when building stuffs for host. But if I directly run the runConfigureICU script in the icu4c source tree, everything is OK. This really confuse me, so I ask for help here.

Additional Info

NDK Version: 25.0.8775105
Android API Level: 21
ICU Version: 72.1 (I also tried 71.1)
Host OS: Arch Linux
Host Arch: x86_64

config.log: https://pb.envs.net/?14d04d4174197b2e#ABkjdgYmRtxqTG55NBZM21N2TGh6qAgjCHAHx16ygpa9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.