运行报错:libvtkIONetCDF-7.1.so.1: cannot open shared object file: No such file or directory

error while loading shared libraries: libvtkIONetCDF-7.1.so.1: cannot open shared object file: No such file or directory

运行报错:libvtkIONetCDF-7.1.so.1: cannot open shared object file: No such file or directory_第1张图片

这是由于环境变量当中没有设置libvtkIONetCDF的目录导致的,解决方法:
终端:

 export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

或者把这句写进终端配置文件.bashrc

你可能感兴趣的:(PCL,slam,自动驾驶,ubuntu)