jetson TX2的开发板安装Pangolin时执行到最后一步make时报错,请问是什么原因?

求帮助:jetson TX2的开发板Pangolin安装时报错,执行步骤如下:

git clone https://github.com/stevenlovegrove/Pangolin.git

cd Pangolin
mkdir build
cd build
cmake ..
make -j4

cmake .. 可以通过,直到执行到最后一步make -j4时报错,报错内容如下:
[ 71%] Linking CXX shared library libpangolin.so
/usr/bin/aarch64-linux-gnu-ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/6/../../../../lib/libOpenNI.so when searching for -lOpenNI
/usr/bin/aarch64-linux-gnu-ld: skipping incompatible /usr/lib/../lib/libOpenNI.so when searching for -lOpenNI
/usr/bin/aarch64-linux-gnu-ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/6/../../../libOpenNI.so when searching for -lOpenNI
/usr/bin/aarch64-linux-gnu-ld: skipping incompatible //usr/lib/libOpenNI.so when searching for -lOpenNI
/usr/bin/aarch64-linux-gnu-ld: cannot find -lOpenNI
collect2: error: ld returned 1 exit status
src/CMakeFiles/pangolin.dir/build.make:2245: recipe for target 'src/libpangolin.so' failed
make[2]: *** [src/libpangolin.so] Error 1
CMakeFiles/Makefile2:136: recipe for target 'src/CMakeFiles/pangolin.dir/all' failed
make[1]: *** [src/CMakeFiles/pangolin.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

说明1:TX2开发板装的ubuntu16.04
说明2:以前在此TX2开发板装过Pangolin,并且可以使用,后来可能是因为安装其他软件删除了openni等一些软件,然后再次安装时一直报错。
说明3:openni和openni2均已经安装,在usr/lib文件夹下可以找到libOpenNI.so和libOpenNI2.so等文件。根据网上说的可能是不兼容问题或者是没有库文件链接路经,尝试过好多种方法都没有解决,有哪位大神遇到过类似问题,求解答,感激不尽。。。

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问