我尝试为android平台编译nite2但它抛出了一些错误,有人能回答我的问题吗?
ash@XxAshxX:~/usr/NITE2/NiTE-2.0.0/Samples$cd SimpleUserTracker/
ash@XxAshxX:~/usr/NITE2/NiTE-2.0.0/Samples/SimpleUserTracker$l
main.cpp Makefile
ash@XxAshxX:~/usr/NITE2/NiTE-2.0.0/Samples/SimpleUserTracker$PLATFORM=武装制造
arm-none linux-gnueabi-g++-MD-MP-MT"./../Bin/Mintermediate/arm-Release/SimpleUserTracker/main.d../Bin/Mediate/arm-Release/Simple UserTracker/main.o"-c-march=armv7-a-mtune=cortex-a8-mfpu=neon-mfloat abi=softfp-O3-fno树预-fno严格混叠-free矢量化-fast数学-函数安全数学优化-fsingle精度常数-Wall--sysroot=/opt/-O2-DNDEBUG-I.//Include-I/home/ash/usr/OpenNI2 android/Include/-fPIC-fvisibility=hidden-o/Bin/Intermediate/Arm Release/SimpleUserTracker/main.omain.cpp
在/home/ash/usr/OpenNI2 android/Include/Linux Arm/OniPlatformLinux Arm.h:25中包含的文件中,从/home/ash/usr/OpenNI2-android/Include/OniPlatform.h:43,来自..//Include/NteCAPI.h:8,来自..//Include/NiTE.h:11,来自main.cpp:8:
/home/ash/usr/OpenNI2 android/Include/Linux Arm//Linux-x86/OniPlatformLinux-x86.h:31:致命错误:unistd.h:没有这样的文件或目录编译终止。
make:***[../Bin/Mintermediate/Arm-Release/SimpleUserTracker/main.o]错误1
由于SimpleUserTracker使用专有的NiTE2库,因此无法为arm平台编译此源代码。