I’m trying to build OpenNI2 on the NVidia Jetson TX2 (aarch64 platform) by following a combination of instructions in the github repo, and this article. I’m running into loads of problems actually making the binary, though.
When I run make, I get the following error: “ThirdParty/PSCommon/BuildSystem/CommonDefs.mak:22: *** Can’t determine host platform. Stop.”
So, taking a risk that the aarch64 platform is “close enough” to the “arm” platform, I hardcoded that into CommonDefs.mak. Then I get the errors:
g++: error: unrecognized command line option ‘-mfpu=neon-vfpv4’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
Does anyone have a way to build OpenNI2 to run on a Jetson TX1 or TX2 (Ubuntu 16.04)?