I'm porting a working windows application to android. I've:
- run haxelib run lime setup android
- set sdk location to be C:\Users\username\AppData\Local\Android\Sdk
- set ndk location to be C:\Users\username\AppData\Local\Android\Sdk\ndk-bundle
- set ndk location to be C:\Users\username\AppData\Local\Android\Sdk\ndk-bundle
- Ran haxelib run lime build "project.xml" android -debug -Dfdb
I get this:
Creating D:/database-tools/bin/android/obj/obj/android-debug-v7/__pch/haxe/hxcpp.h.gch... In file included from C:\Users\jdoughty\AppData\Local\Android\Sdk\ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/typeinfo:34:0, from C:/HaxeToolkit/haxe/lib/hxcpp/3,4,188/include/hxcpp.h:19: C:\Users\jdoughty\AppData\Local\Android\Sdk\ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/exception:37:28: fatal error: bits/c++config.h: No such file or directory #include
compilation terminated.
Error: Could not create PCH
Build halted with errors.
The Android NDK recently dropped support for GCC, but we are working to help make a clang toolchain config for Android and HXCPP.