google / ion

Ion
Apache License 2.0
1.43k stars 92 forks source link

Build broken with Android ndk-r13b (current release) #21

Open esrauch opened 7 years ago

esrauch commented 7 years ago

Build works with ndk-r10e but gets STL linker errors with r13b (both freshly extracted zips from developer.android.com)

/home/esrauch/adt-bundle-linux-x86_64-20140321/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lgnustl_static

../../../ion/demos/demobase.h:58: error: undefined reference to 'std::string::begin()' ../../../ion/demos/demobase.h:58: error: undefined reference to 'std::string::end()' ../../../ion/demos/demobase.h:58: error: undefined reference to 'std::string::begin()' (And a lot of other undefined reference for STL errors)