Ubuntu16.04:Meshlab安装

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012348774/article/details/82686913

背景

Meshlab是一个常用的网格显示工具,然而在Ubuntu16.04下进行默认apt-get安装会按照非常老的版本(2016年的发行版本),无法使用Meshlab的一些新特性。

解决方法

1.如果不怕麻烦,可以自行下载代码编译

 https://github.com/cnr-isti-vclab/meshlab

代码中的ReadMe详细介绍了如何编译,先粘贴如下:

Compiling MeshLab
install Qt5.9, be sure to select additional packages "script" and "xmlpatterns"
clone meshlab repo
clone vcglib repo (devel branch) at the same level of meshlab
compile src/external/external.pro
compile src/meshlab_full.pro

Ubuntu 16 Compilation example
Make sure you selected the correct version of Qt: qmake -v. You can use qtchooser -l to list the versions and if in doubt use the direct path to your qmake binary.
Clone repositories:
git clone --depth 1 [email protected]:cnr-isti-vclab/meshlab.git
git clone --depth 1 [email protected]:cnr-isti-vclab/vcglib.git -b devel
cd meshlab

2.另外一种简单的方法就是使用别人编译好的源,从而继续使用apt-get进行安装

sudo add-apt-repository ppa:zarquon42/meshlab
sudo apt-get update
sudo apt-get install meshlab

参考

https://blog.csdn.net/liudahanghang/article/details/81328617

猜你喜欢

转载自blog.csdn.net/u012348774/article/details/82686913