Questions tagged [android-stlport]
11 questions
5
votes
4 answers
Header-only C++ library (GLM) doesn't compile with Android-NDK
I want to use the GLM (glm.g-truc.net) header-only C++ library in an Android NDK project, but I get compile errors. In the Android.mk, I've added the header search path
LOCAL_CFLAGS += -I/Users/Johannes/Development/glm_include/
and I've also tried…

j00hi
- 5,420
- 3
- 45
- 82
3
votes
3 answers
I got complition error _GLIBCXX_PERMIT_BACKWARD_HASH on android NDK when using hash_map
I'm in progress of porting my cocos2d-x project from win32 to android. I've been using the hash_map and it causes a lot of problems now.
I googled that I need to include it from different sources on Android NDK and win32, like this:
#ifdef…

michael
- 3,250
- 10
- 43
- 58
3
votes
5 answers
What this error means and how to solve it?
I am trying to build a C++ code using NDK in android. I have a method which has a parameter vector < vector > coordinates
Everything builds fine until I write this line inside my method
vector firstPoint =…

Haris Hasan
- 29,856
- 10
- 92
- 122
3
votes
2 answers
Crash initializing std::String
Though Android-NDK (JNI of Android) I'm trying to use the STL to make it easir work with strings.
The following code, crashes on execution:
__android_log_print(ANDROID_LOG_DEBUG, "RMSDK:RMServices", "[%s]", "Converting");
std::string…

Marcos Vasconcelos
- 18,136
- 30
- 106
- 167
3
votes
2 answers
How can I tell which runtime an Android .so was compiled with?
I have some pre-compiled so files, so who knows what flags were used to generate them. I'm curious to know which runtime/version of the STL they were compiled with (gnustl_shared? stlport_shared?) to avoid clashes with my own code.
How can I find…

Andy Krouwel
- 1,309
- 11
- 21
3
votes
0 answers
Android ndk undefined reference to android::RefBase::incStrong
Getting this linker error when trying to use classes defined in stagefright. I am trying to use MediaExtractor,
$…

nmxprime
- 1,506
- 3
- 25
- 52
2
votes
1 answer
relation between app_stl values with static and shared build android
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…

Abhiram mishra
- 1,597
- 2
- 14
- 34
2
votes
1 answer
STLport error: '__cxa_demangle' is not a member of 'abi' for boost library
I have been trying to compile a piece of code which needs boost logging , things are fine when I try to compile with gnustl but when I switch to stlport the compiler, cribs loud with the following message.
In file included from …

Abhiram mishra
- 1,597
- 2
- 14
- 34
2
votes
0 answers
boost on Android using stlport
In my Android App, I need to build both websocketpp (http://www.zaphoyd.com/websocketpp) and libjingle (https://code.google.com/p/libjingle/) and then I run into the following problem:
websocketpp is using the boost library (www.boost.org) which I…

Qiusheng
- 300
- 1
- 11
0
votes
1 answer
Android, native app can't start when I use std::vector::push_back()
I need to use the vector container in my native application (it's cocos-2dx framework)
So, I've added
APP_STL := stlport_static
to Application.mk
Then
#include
in header file for the class which uses vector
Define the variable as…

krasilich
- 643
- 2
- 9
- 14
0
votes
1 answer
stlport related unresolved external
I'm using NDK build & seeing this weird linker error:
./external/stlport/stlport/stl/_fstream.c:139: error: undefined reference to 'std::_Filebuf_base::_M_seek(long long, int)'
./external/stlport/stlport/stl/_fstream.c:391: error: undefined…

droid_dev
- 303
- 4
- 15