android-stlport

What this error means and how to solve it?

妖精的绣舞 提交于 2019-12-23 20:00:15
问题 I am trying to build a C++ code using NDK in android. I have a method which has a parameter vector < vector <float> > coordinates Everything builds fine until I write this line inside my method vector<float> firstPoint = coordinates.at(0); I start getting this error D:/eclipseworkspace/myLibProject/obj/local/armeabi/libmyLibProject.a(FileName.o): In function `std::priv::_Vector_base<std::vector<float, std::allocator<float> >, std::allocator<std::vector<float, std::allocator<float> > > >::_M

relation between app_stl values with static and shared build android

时光怂恿深爱的人放手 提交于 2019-12-01 07:47:21
问题 Been wondering and now confused. When app_stl = stlport_static or stlport_shared is set in the Application.mk file and you are trying to build either shared and static version of the library. what is the effect,why would you have a specific case (see below) in your android ndk application ? let say I have Case1: APP_STL=stlport_static and include $(BUILD_SHARED_LIBRARY) Case2: APP_STL=stlport_static and include $(BUILD_STATIC_LIBRARY) Case3: APP_STL=stlport_shared and include $(BUILD_SHARED