I tried HXCPP 3.3; same error. Also I was building on the latest version of lime, however the same error occurs on older versions so I imagine that I haven’t even reached the point where that tag would cause a problem.
However, I stumbled upon a post that alluded to the fact that for some reason access may have been denied to arm-linux-androideabi-G++, so I ran the command prompt as an administrator and I got different errors
_/\\\\\\______________________________________________
_\////\\\______________________________________________
_____\/\\\_____/\\\_____________________________________
______\/\\\____\///_____/\\\\\__/\\\\\_______/\\\\\\\\___
_______\/\\\_____/\\\__/\\\///\\\\\///\\\___/\\\/////\\\__
________\/\\\____\/\\\_\/\\\_\//\\\__\/\\\__/\\\\\\\\\\\___
_________\/\\\____\/\\\_\/\\\__\/\\\__\/\\\_\//\\///////____
________/\\\\\\\\\_\/\\\_\/\\\__\/\\\__\/\\\__\//\\\\\\\\\\__
________\/////////__\///__\///___\///___\///____\//////////___
Lime Command-Line Tools (5.9.1)
Initializing project...
Reading Lime config: C:\Users\Dell\.lime\config.xml
Using target platform: ANDROID
Running command: REBUILD
- Changing directory: C:\Users\Dell\hxcpp/3,3,49/project
- Running command: haxelib run hxcpp Build.xml -Dandroid -DPLATFORM=android-9 -Dtools=5.9.1 -Drebuild=1 -verbose
__
/\ \
\ \ \___ __ _ ___ _____ _____
\ \ _ `\ /\ \/'\ /'___\/\ '__`\/\ '__`\
\ \ \ \ \\/> <//\ \__/\ \ \L\ \ \ \L\ \
\ \_\ \_\/\_/\_\ \____\\ \ ,__/\ \ ,__/
\/_/\/_/\//\/_/\/____/ \ \ \/ \ \ \/
\ \_\ \ \_\
\/_/ \/_/
hxcpp (Haxe C++ Runtime Support) (3.3.49)
Using makefile: Build.xml
Reading HXCPP config: C:\Users\Dell\.hxcpp_config.xml
No specified toolchain
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/toolchain/setup.xml
- Parsing include: C:\Users\Dell\.hxcpp_config.xml (section "vars")
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/toolchain/finish-setup.xml
- Parsing makefile: C:\Users\Dell\hxcpp\3,3,49\project\Build.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/build-tool/BuildCommon.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/toolchain/haxe-target.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Build.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/project/libs/zlib/Build.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/project/libs/regexp/Build.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/project/libs/mysql/Build.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/project/libs/sqlite/Build.xml
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/toolchain/android-toolchain.xml
Using Android NDK root: ndk-latest/android-ndk-r16b
Detected Android NDK r16
Using Android NDK platform: android-19
- Adding path: ndk-latest/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows/bin
- Parsing include: C:/Users/Dell/hxcpp/3,3,49/toolchain/gcc-toolchain.xml
- Parsing compiler: C:/Users/Dell/hxcpp/3,3,49/toolchain/common-defines.xml
- Parsing include: C:\Users\Dell\.hxcpp_config.xml (section "exes")
Using compile threads: 3
- Changing directory: C:/Users/Dell/hxcpp/3,3,49/project/libs/std
- Compile : Sys.cpp
arm-linux-androideabi-g++ --sysroot=ndk-latest/android-ndk-r16b/platforms/android-19/arch-arm -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -IC:/Users/Dell/hxcpp/3,3,49/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=19 -Wa,--noexecstack -O2 -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti -std=c++11 C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Sys.cpp -oC:/Users/Dell/hxcpp/3,3,49/project/libs/std/obj/android/d6864f50_Sys.obj
- Compile : Xml.cpp
arm-linux-androideabi-g++ --sysroot=ndk-latest/android-ndk-r16b/platforms/android-19/arch-arm -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -IC:/Users/Dell/hxcpp/3,3,49/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=19 -Wa,--noexecstack -O2 -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti -std=c++11 C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Xml.cpp -oC:/Users/Dell/hxcpp/3,3,49/project/libs/std/obj/android/d6864f50_Xml.obj
- Compile : Process.cpp
arm-linux-androideabi-g++ --sysroot=ndk-latest/android-ndk-r16b/platforms/android-19/arch-arm -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -IC:/Users/Dell/hxcpp/3,3,49/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=19 -Wa,--noexecstack -O2 -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti -std=c++11 C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Process.cpp -oC:/Users/Dell/hxcpp/3,3,49/project/libs/std/obj/android/d6864f50_Process.obj
Error: While running :arm-linux-androideabi-g++ --sysroot=ndk-latest/android-ndk-r16b/platforms/android-19/arch-arm -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -IC:/Users/Dell/hxcpp/3,3,49/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=19 -Wa,--noexecstack -O2 -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti -std=c++11 C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Xml.cpp -oC:/Users/Dell/hxcpp/3,3,49/project/libs/std/obj/android/d6864f50_Xml.obj
In file included from C:/Users/Dell/hxcpp/3,3,49/include/hx/OS.h:61:0,
from C:/Users/Dell/hxcpp/3,3,49/include/hx/CFFI.h:15,
from C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Xml.cpp:1:
c:\users\dell\ndk-latest\android-ndk-r16b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\lib\gcc\arm-linux-androideabi\4.9.x\include\stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
Error: While running :arm-linux-androideabi-g++ --sysroot=ndk-latest/android-ndk-r16b/platforms/android-19/arch-arm -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -IC:/Users/Dell/hxcpp/3,3,49/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=19 -Wa,--noexecstack -O2 -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti -std=c++11 C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Process.cpp -oC:/Users/Dell/hxcpp/3,3,49/project/libs/std/obj/android/d6864f50_Process.obj
In file included from C:/Users/Dell/hxcpp/3,3,49/include/hx/OS.h:61:0,
from C:/Users/Dell/hxcpp/3,3,49/include/hx/CFFI.h:15,
from C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Process.cpp:1:
c:\users\dell\ndk-latest\android-ndk-r16b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\lib\gcc\arm-linux-androideabi\4.9.x\include\stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
Error: While running :arm-linux-androideabi-g++ --sysroot=ndk-latest/android-ndk-r16b/platforms/android-19/arch-arm -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include -Indk-latest/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -IC:/Users/Dell/hxcpp/3,3,49/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -DHXCPP_CPP11 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=19 -Wa,--noexecstack -O2 -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti -std=c++11 C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Sys.cpp -oC:/Users/Dell/hxcpp/3,3,49/project/libs/std/obj/android/d6864f50_Sys.obj
In file included from C:/Users/Dell/hxcpp/3,3,49/include/hx/OS.h:61:0,
from C:/Users/Dell/hxcpp/3,3,49/include/hx/CFFI.h:15,
from C:/Users/Dell/hxcpp/3,3,49/project/libs/std/Sys.cpp:1:
c:\users\dell\ndk-latest\android-ndk-r16b\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\lib\gcc\arm-linux-androideabi\4.9.x\include\stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated
ETA: The missing header file issue was the issue I ran into when using neko build.n android
Which leads me to my original question, am I missing the system directory header files or is #include_next <stdint.h>
just pointing to the wrong directory?
EDIT: Also thanks for taking the time to help me out with this, I’ve been reading through your posts for pretty much a day or two now haha, most of your older posts have gotten me up to this point, and though I have yet to succeed I’ve definitely come a lot further than I was a few days ago.