我尝试为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 生成文件
ash@XxAshxX:~/usr/NITE2/NiTE-2.0.0/Samples/SimpleUserTracker$ PLATFORM=Arm make
arm-none-linux-gnueabi-g++ -MD -MP -MT "./../Bin/Intermediate/Arm-Release/SimpleUserTracker/main.d ../Bin/Intermediate/Arm-Release/SimpleUserTracker/main.o " -c -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-数学优化 -fsingle-precision-constant -Wall --sysroot=/opt/ -O2 -DNDEBUG -I../../Include -I/home/ash/usr/OpenNI2-android/Include/ -fPIC -fvisibility =hidden -o ../Bin/Intermediate/Arm-Release/SimpleUserTracker/main.o main.cpp
在 /home/ash/usr/OpenNI2-android/Include/Linux-Arm/OniPlatformLinux-Arm.h:25 包含的文件中,来自 /home/ash/usr/OpenNI2-android/Include/OniPlatform.h:43,来自../../Include/NiteCAPI.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/Intermediate/Arm-Release/SimpleUserTracker/main.o] 错误 1