TX2安装PCL出现libGL.so: undefined reference to 'xxxx'

在TX2 上刷机后安装PCL时出现
aarch64-linux-gnnu/libGL.so :undefined reference to drmCloseOnce

aarch64-linux-gnnu/libGL.so :undefined reference to drmCloseOnce

aarch64-linux-gnnu/libGL.so :undefined reference to drmMap

aarch64-linux-gnnu/libGL.so :undefined reference to drmUnmap

aarch64-linux-gnnu/libGL.so :undefined reference to drmFreeDevice

aarch64-linux-gnnu/libGL.so :undefined reference to drmOpenOnce

aarch64-linux-gnnu/libGL.so :undefined reference to drmGetDevice2

aarch64-linux-gnnu/libGL.so :undefined reference to drmFreeDevices

解决方案:

$cd /usr/lib/aarch64-linux-gnu

$sudo rm libGL.so

$sudo ln -s /usr/lib/aarch-linux-gnu/tegra/libGL.so libGL.so

原文:https://blog.csdn.net/gaoxiaochuan89/article/details/80851738

你可能感兴趣的:(SLAM)