| Issue 219: | Android build problem with Android NDK r8 | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I got the attached errors when building a NME Android project using Android NDK r8. The problem seems to be fixed with adding `<flag value="-I${ANDROID_NDK_ROOT}/sources/cxx-stl/stlport/stlport"/>` to "android-toolchain.xml". /Users/andy/Documents/repo/hxcpp//include/hxcpp.h:13:20: error: typeinfo: No such file or directory In file included from /Users/andy/Documents/repo/hxcpp//include/hxcpp.h:169: /Users/andy/Documents/repo/hxcpp//include/Array.h:195:21: error: algorithm: No such file or directory In file included from /Users/andy/Documents/repo/hxcpp//include/hxcpp.h:161: /Users/andy/Documents/repo/hxcpp//include/hx/Object.h: In member function 'void hx::ObjectPtr<O>::CastPtr(hx::Object*)': /Users/andy/Documents/repo/hxcpp//include/hx/Object.h:143: error: must #include <typeinfo> before using typeid In file included from /Users/andy/Documents/repo/hxcpp//include/hxcpp.h:169: /Users/andy/Documents/repo/hxcpp//include/Array.h: In member function 'void Array_obj<ELEM_>::sort(Dynamic)': /Users/andy/Documents/repo/hxcpp//include/Array.h:388: error: 'sort' is not a member of 'std' In file included from /Users/andy/Documents/repo/hxcpp//include/hxcpp.h:170: /Users/andy/Documents/repo/hxcpp//include/Class.h: In function 'bool hx::TCanCast(hx::Object*)': /Users/andy/Documents/repo/hxcpp//include/Class.h:139: error: must #include <typeinfo> before using typeid Called from ? line 1 Called from BuildTool.hx line 1438 Called from BuildTool.hx line 667 Called from a C function Called from BuildTool.hx line 702 Called from BuildTool.hx line 836 Called from BuildTool.hx line 870 Called from BuildTool.hx line 191 Uncaught exception - Error creating pch: 256 - build cancelled
Jan 7, 2013
#1
Andy.onthewings
Feb 1, 2013
Ok, I think we can say we are not compatible with r8, only the latest letter in a particular revision, ie r8d
Status:
WontFix
|