With gnustl_static I get different errors ...
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Compile++ thumb : jnitest <= Simulation.cpp
Compile++ thumb : jnitest <= You.cpp
SharedLibrary : libjnitest.so
/local/data/android/projects/TheTest/obj/local/armeabi/objs-debug/
jnitest/Simulation.o: In function `You':
/local/data/android/projects/TheTest/jni/You.h:6: undefined reference
to `vtable for You'
/local/data/android/projects/TheTest/obj/local/armeabi/objs-debug/
jnitest/Simulation.o: In function `Simulation::addBalls()':
/local/data/android/projects/TheTest/jni/Simulation.cpp:8: undefined
reference to `You::~You()'
/local/data/android/projects/TheTest/jni/Simulation.cpp:8: undefined
reference to `You::~You()'
/local/data/android/projects/TheTest/obj/local/armeabi/objs-debug/
jnitest/Simulation.o: In function `You':
/local/data/android/projects/TheTest/jni/You.h:4: undefined reference
to `vtable for You'
/local/data/android/projects/TheTest/obj/local/armeabi/objs-debug/
jnitest/Simulation.o: In function `std::vector<You,
std::allocator<You>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<You*, std::vector<You,
std::allocator<You> > >, You const&)':
/local/software/android/ndk/sources/cxx-stl/gnu-libstdc++/include/bits/
vector.tcc:312: undefined reference to `You::~You()'
/local/software/android/ndk/sources/cxx-stl/gnu-libstdc++/include/bits/
vector.tcc:312: undefined reference to `You::~You()'
/local/data/android/projects/TheTest/obj/local/armeabi/objs-debug/
jnitest/Simulation.o: In function `std::vector<You,
std::allocator<You> >::_M_check_len(unsigned int, char const*) const':
/local/software/android/ndk/sources/cxx-stl/gnu-libstdc++/include/bits/
stl_vector.h:1153: undefined reference to
`std::__throw_length_error(char const*)'
/local/data/android/projects/TheTest/obj/local/armeabi/objs-debug/
jnitest/Simulation.o: In function
`__gnu_cxx::new_allocator<You>::allocate(unsigned int, void const*)':
/local/software/android/ndk/sources/cxx-stl/gnu-libstdc++/include/ext/
new_allocator.h:87: undefined reference to `std::__throw_bad_alloc()'
collect2: ld returned 1 exit status
make: *** [/local/data/android/projects/TheTest/obj/local/armeabi/
libjnitest.so] Error 1
On Feb 7, 1:02 pm, İsmail Dönmez <
ism...@namtrac.org> wrote:
> You mean only supported with "gnustl_static"
>