的Andr​​oid NDK C ++的wstring的支持 [英] Android NDK C++ 'wstring' support

查看:323
本文介绍了的Andr​​oid NDK C ++的wstring的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有源$ C ​​$ C / lib下用C ++编写 - 现在我想编译和使用的Andr​​oid NDK项目相同(NDK 6)。我能够编译大多数C ++的文件,除了标准:: wstring的基础功能。

I have source code/lib written in C++ - now i would like to compile and use the same in Android NDK project (NDK 6). I am able to compile most of the C++ files except "std::wstring" based functionality.

在Application.mk当我指定 APP_STL:= stlport_static 然后再编译的std :: wstring的基于code,但是当我指定 APP_STL:= gnustl_static 失败编译。我不知道如何解决的std :: wstring的有关问题 APP_STL:= gnustl_static

In Application.mk when i specify APP_STL: = stlport_static then it compiles std::wstring based code but when i specify APP_STL: = gnustl_static it fails to compile. I do not know how to resolve std::wstring related issue with APP_STL: = gnustl_static

任何指针或在这方面的帮助将是很大的AP preciated。

Any pointer or help on this would be greatly appreciated.

推荐答案

一个非常类似的问题已经被问:<一href="http://stackoverflow.com/questions/4997855/android-ndk-gnustl-static-exe-not-working">android-ndk gnustl_static exe文件不工作认为看这个问题和测试,看看是否有这些问题的答案的工作。

A very similar question has already been asked: android-ndk gnustl_static exe not working consider looking at that question and testing to see if any of those answers work.

这篇关于的Andr​​oid NDK C ++的wstring的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆