我尝试为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 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-math-optimizations -fsingle-precision-constant -Wall --sysroot = / opt / -O2 -DNDEBUG -I ../../包括-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