Android的外部/ STLport的包括Android.mk筹建不是全成 [英] android external/stlport include in Android.mk build not successfull
问题描述
我米试图在我使用 Skia的
和 STL
模板建立与Android的升级Froyo源的应用程序
I m trying to build an app with android-froyo source in which I am using skia
and stl
templates,
我已经包括
MY_INCLUDES=external/zlib external/jpeg external/freetype/include \
frameworks/base/core/jni/android/graphics external/skia/include/core \
external/libpng external/expat/lib <b>external/stlport/stlport</b>
libstlport_cflags := -D_GNU_SOURCE
libstlport_cppflags := -fuse-cxa-atexit
LOCAL_CPPFLAGS := $(libstlport_cppflags)
include $(BUILD_STATIC_LIBRARY)
我收到以下错误,当我尝试建立与此应用程序,这是我保持在封装/应用程序的Android源:
I get the following error when i try to build the android source with this app, which i kept at packages/apps:
外部/ STLport的/的STLport / STL / _new.h:47:50:错误:的libstdc ++ /有/新:没有这样的文件或目录
external/stlport/stlport/stl/_new.h:47:50: error: libstdc++/include/new: No such file or directory
请指引我来纠正这个问题。
Please guide me to rectify this issue.
感谢
莫希特
推荐答案
据我所知不能由preprocessor找到位于仿生
文件夹中的文件。
As I understand the file which cannot be found by preprocessor is located in bionic
folder.
我有同样的问题,我加入以下行解决了:
I had the same issue and I solved it by adding the following line:
LOCAL_C_INCLUDES += bionic
这篇关于Android的外部/ STLport的包括Android.mk筹建不是全成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!