Package Details: meshlab 1.3.3-5

Git Clone URL: (read-only)
Package Base: meshlab
Description: System for processing and editing triangular meshes
Upstream URL:
Licenses: GPL2
Submitter: net147
Maintainer: net147
Last Packager: net147
Votes: 75
Popularity: 2.522343
First Submitted: 2009-10-04 10:58
Last Updated: 2016-05-23 03:08

Required by (0)

Sources (10)

Latest Comments

RastaManKing commented on 2016-05-25 00:15

Cheers! I can confirm this is fixed, thank you very much!

net147 commented on 2016-05-23 03:08

@RastaManKing, @escentrix: Fixed

RastaManKing commented on 2016-05-23 00:33

I tryed installing straight from source but i get the same error following meshlab's instructions, i think we need to wait for meshlab to fix this.. It'll be nice to know when this gets fixed :/

escentrix commented on 2016-05-21 16:19

RastaManKing: I confirm. I get the same error when building.

RastaManKing commented on 2016-05-17 18:18

i get the following error when trying to install...

ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp:125:26: error: cannot convert ‘bool’ to ‘QList<SyntopiaCore::GLEngine::Object3D*>*’ in return
if (!found) return false;
Makefile.structuresynth:612: recipe for target 'VoxelStepper.o' failed
make[1]: *** [VoxelStepper.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-rastamanking/aur-meshlab/src/meshlab/src/external/structuresynth-1.5'
Makefile:111: recipe for target 'sub-structuresynth-1-5-structuresynth-pro-make_default' failed
make: *** [sub-structuresynth-1-5-structuresynth-pro-make_default] Error 2

nivata commented on 2015-08-26 13:36

Yep, it works now. Awesome!

net147 commented on 2015-08-26 02:29

nivata: I have fixed linking to system MPIR so it should work now

nivata commented on 2015-08-24 19:52

Hi. Meshlab crashes when I try to perform CSG operations, with the following message:

meshlab: symbol lookup error: /opt/meshlab/plugins/ undefined symbol: __gmpz_init_set_si

Is the CSG plugin correctly linked to the system MPIR/GMP?

dejavu commented on 2015-03-12 22:51

@net147: Wow, that was fast! Recompilation worked also. Now we can open the files per file manager ;-).

net147 commented on 2015-03-12 21:59

dejavu: done

dejavu commented on 2015-03-12 21:56

Please use following lines in the meshlab.desktop file, the first line allows selecting the application in "Open With" in the file managers.
Exec=meshlab %U

sftrytry commented on 2014-10-29 01:45

NVM. I borrow gentoo ebuild to make a 1.3.2 PKGBUILD. I post it in case anyone needs it.

# Maintainer: Jiaxi Hu <>
pkgdesc="System for processing and editing triangular meshes"
arch=('i686' 'x86_64')
depends=('bzip2' 'desktop-file-utils' 'glu' 'lapack' 'mpir' 'openssl' 'qt4' 'lib3ds' 'muparser' 'glew' 'qhull' 'openctm' 'levmar' 'libunwind')

prepare() {
cd "${srcdir}"

tar -zxf "MeshLabSrc_AllInc_v${pkgver//./}.tgz"

rm ${srcdir}/meshlab/src/distrib/plugins/*.xml
rm ${srcdir}/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h
#patches from debian repo
patch -p1 < ${srcdir}/01_crash-on-save.patch
patch -p1 < ${srcdir}/02_cstddef.patch
patch -p1 < ${srcdir}/03_disable-updates.patch
patch -p1 < ${srcdir}/05_externals.patch
patch -p1 < ${srcdir}/06_format-security.patch
patch -p1 < ${srcdir}/07_gcc47.patch
patch -p1 < ${srcdir}/08_lib3ds.patch
patch -p1 < ${srcdir}/09_libbz2.patch
patch -p1 < ${srcdir}/10_muparser.patch
patch -p1 < ${srcdir}/11_openctm.patch
patch -p1 < ${srcdir}/12_overflow.patch
patch -p1 < ${srcdir}/13_pluginsdir.patch
patch -p1 < ${srcdir}/14_ply_numeric.patch
patch -p1 < ${srcdir}/15_qhull.patch
patch -p1 < ${srcdir}/16_shadersdir.patch
patch -p1 < ${srcdir}/17_structuresynth.patch
patch -p1 < ${srcdir}/18_glew.c18p1.patch
patch -p1 < ${srcdir}/19_CONFLICTS_IN_rpath.patch
patch -p1 < ${srcdir}/20_rpath.c18p2.patch
patch -p1 < ${srcdir}/21_RESOLUTION.patch
patch -p1 < ${srcdir}/22_aliasing.patch

build() {
cd "${srcdir}/meshlab/src"

# build external libraries
cd external
qmake-qt4 -recursive

# build meshlab
cd ..
qmake-qt4 -recursive

package() {
cd "${srcdir}/meshlab/src"

# install meshlab
install -d -m755 "${pkgdir}/opt"
cp -a distrib "${pkgdir}/opt/meshlab"

# add symbolic links for executables
install -d -m755 "${pkgdir}/usr/bin"
install -d -m755 "${pkgdir}/usr/lib"
ln -s ../../opt/meshlab/meshlab "${pkgdir}/usr/bin/meshlab"
ln -s ../../opt/meshlab/meshlabserver "${pkgdir}/usr/bin/meshlabserver"
ln -s ../../opt/meshlab/ "${pkgdir}/usr/lib/"
ln -s ../../opt/meshlab/ "${pkgdir}/usr/lib/"
ln -s ../../opt/meshlab/ "${pkgdir}/usr/lib/"

# install man pages
install -d -m755 "${pkgdir}/usr/share/man/man1"
install -m644 "${srcdir}/meshlab.1" "${pkgdir}"/usr/share/man/man1
install -m644 "${srcdir}/meshlabserver.1" "${pkgdir}"/usr/share/man/man1

# install icons
install -d -m755 "${pkgdir}/usr/share/pixmaps"
install -m644 "${srcdir}/meshlab/src/meshlab/images/eye_cropped.png" "${pkgdir}/usr/share/pixmaps/meshlab.png"

# install desktop entry
install -d -m755 "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/meshlab.desktop" "${pkgdir}/usr/share/applications"
sed -i "s#Version=.*#Version=$pkgver#" "${pkgdir}/usr/share/applications/meshlab.desktop"

# vim:set ts=2 sw=2 et:

sftrytry commented on 2014-10-28 19:34

Do your old version? Right-click crashes 1.3.3 on my intel gpu, but 1.3.2 looks fine.
Could you shared the PKGBUILD if there is.

l0ginof commented on 2014-07-08 03:04

This build doesn't have filter 'Image alignment: Mutual Information'
Crash when I use filter 'Parameterization from registered rasters'
On windows and macos all works well.

Was compiled with mpir 2.7
Comment by soravux

2014-06-30 16:06

Installs correctly when updated to the latest version:
- pkgver=2.6.0
+ pkgver=2.7.0
- source=($pkgver.tar.lzma)
+ source=($pkgver-alpha9.tar.lz)
- md5sums=('cec318bffabccd4e5a5d2b63389fde0f')
+ md5sums=('SKIP')

Only on ubuntu 14.04 meshlab works well, but has version 1.3.2

net147 commented on 2014-06-01 11:27

xoan: nlufr: fixed

nlufr commented on 2014-06-01 09:25

I have the same compilation error that xoan

Linux asus 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:44:54 CEST 2014 i686 GNU/Linux

net147 commented on 2014-05-12 03:54

xoan: Strange. I didn't have any trouble compiling it, at least on x86_64.

xoan commented on 2014-05-09 08:44

make[1]: Entering directory '/tmp/packerbuild-1000/meshlab/meshlab/src/meshlab/src/meshlabplugins/filter_csg'
rm -f
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1 -shared -o filter_csg.o moc_filter_csg.o -L/usr/lib -L/usr/X11R6/lib -L../../distrib -lcommon ../../external/lib/linux-g++/libmpirxx.a ../../external/lib/linux-g++/libmpir.a -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread
../../external/lib/linux-g++/libmpirxx.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:110: recipe for target '../../distrib/plugins/' failed
make[1]: *** [../../distrib/plugins/] Error 1
make[1]: Leaving directory '/tmp/packerbuild-1000/meshlab/meshlab/src/meshlab/src/meshlabplugins/filter_csg'
Makefile:1014: recipe for target 'sub-meshlabplugins-filter_csg-make_default-ordered' failed
make: *** [sub-meshlabplugins-filter_csg-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().

net147 commented on 2014-05-08 13:46

sam.dehority: Install base-devel as documented at

sam.dehority commented on 2014-05-08 13:44

Fails to install, I get the following:

==> Extracting sources...
==> Starting build()...
/tmp/tmp.xgh4d97xEK/meshlab/PKGBUILD: line 34: patch: command not found
==> ERROR: A failure in build().

net147 commented on 2014-05-07 05:12

Updated to 1.3.3.

net147 commented on 2014-03-02 08:25

yousry: Probably best to report the issue upstream to Meshlab developers.

yousry commented on 2014-03-02 06:09

Cannot save ANY project. SegSegv during Menu->Project->Save:

(gdb) where
#0 0x00007ffff5d30b6d in QWidget::windowTitle() const ()
from /usr/lib64/
#1 0x00007ffff5d334ae in QWidget::setWindowTitle(QString const&) ()
from /usr/lib64/
#2 0x000000000045eb5f in ?? ()
#3 0x00000000004cefaf in ?? ()
#4 0x00007ffff5491b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/
#5 0x00007ffff5ce7f82 in QAction::triggered(bool) ()
from /usr/lib64/
#6 0x00007ffff5ce9953 in QAction::activate(QAction::ActionEvent) ()
from /usr/lib64/
#7 0x00007ffff6112d79 in ?? () from /usr/lib64/
#8 0x00007ffff61172a9 in ?? () from /usr/lib64/
#9 0x00007ffff5d3d62e in QWidget::event(QEvent*) ()
from /usr/lib64/
#10 0x00007ffff611b07b in QMenu::event(QEvent*) ()
from /usr/lib64/
#11 0x00007ffff5cee0dc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/
#12 0x00007ffff5cf47dd in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib64/
#13 0x00007ffff7b4a816 in MeshLabApplication::notify(QObject*, QEvent*) ()
---Type <return> to continue, or q <return> to quit---
from /opt/meshlab/
#14 0x00007ffff547debd in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/
#15 0x00007ffff5cf3f93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib64/
#16 0x00007ffff5d65edc in ?? () from /usr/lib64/
#17 0x00007ffff5d6461c in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib64/
#18 0x00007ffff5d8b162 in ?? () from /usr/lib64/
#19 0x00007ffff354a296 in g_main_context_dispatch ()
from /usr/lib64/
#20 0x00007ffff354a5e8 in ?? () from /usr/lib64/
#21 0x00007ffff354a68c in g_main_context_iteration ()
from /usr/lib64/
#22 0x00007ffff54aab46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/
#23 0x00007ffff5d8b216 in ?? () from /usr/lib64/
#24 0x00007ffff547cb1f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/
#25 0x00007ffff547ce15 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/
#26 0x00007ffff5481f4b in QCoreApplication::exec() ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib64/
#27 0x000000000042e629 in ?? ()
#28 0x00007ffff4211b05 in __libc_start_main () from /usr/lib64/
#29 0x000000000043c3c8 in ?? ()

net147 commented on 2013-04-13 04:51

Updated to use icon from source.

Auguste commented on 2013-04-13 04:12

meshlab offers its icon in src/meshlab/images/ as a series of files starts with eye.

i don't think it's necessary to use external images in xpm format for its desktop file usage.

rpodgorny commented on 2013-03-02 11:59

please update the dependency from qt to qt4 and change qmake to qmake-qt4 in PKGBUILD, thank you...

roylines commented on 2013-02-10 18:46

I have resolved the issue, thought I'd comment here in case anyone else was getting the error.

I had previously installed glu, but for some reason the glu.h file was missing from /usr/include/GL. A reinstall of glu solved the problem.

The command to fix if anyone else has the problem is > sudo pacman -S glu

roylines commented on 2013-02-10 17:49

I'm still getting the error regarding GL/glu.h.

I had previously tried adding the dependency myself. I think the problem is to do with the current version being 1.9.0-2 but the build requiring 1.7.0. Any ideas what I can do?

net147 commented on 2013-02-07 23:33

Added missing glu dependency.

roylines commented on 2013-02-07 19:26

I was getting the following error when trying to install:

../external/glew-1.7.0/include/GL/glew.h:1167:24: fatal error: GL/glu.h: No such file or directory

I think it's due to glew now being at 1.9.0-2. Any ideas on how to fix this?

net147 commented on 2012-08-06 12:07

Updated to 1.3.2.

mrbit commented on 2012-06-04 17:48

please update....thanks

net147 commented on 2012-04-21 06:45

Updated PKGBUILD to support GCC 4.7.

net147 commented on 2012-04-21 06:44

Please try upgrading all packages on your system and rebuild meshlab.

net147 commented on 2012-04-21 05:21

Did you rebuild meshlab after installing lapack?

net147 commented on 2012-04-21 05:20

Did you rebuild meshlab after installing atlas?

net147 commented on 2012-04-21 05:17

You can try building meshlab without lapack. Add # before patch -Np2 -i "$srcdir/lapack.patch" in the PKGBUILD.

orbisvicis commented on 2012-04-21 05:07

That error below means that it crashes, can you help with it?

I am using atlas-lapack ( which is identical to lapack, except with more features... so that should *not* cause the problem.

ldd /opt/meshlab/plugins/ | grep -i lapack

ldd /opt/meshlab/ | grep -i lapack

$ objdump -tT /usr/lib/ | grep -i dgetrf_
0014fc50 g DF .text 000000c3 Base dgetrf_
004ad9f0 g DF .text 000000f4 Base atl_f77wrap_dgetrf_

orbisvicis commented on 2012-04-18 06:16

Doesn't seem to link against lapack:

meshlab: symbol lookup error: /opt/meshlab/plugins/ undefined symbol: dgetrf_

net147 commented on 2012-01-07 01:04


Anonymous comment on 2012-01-07 00:25

In file included from ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:6:0:
ssynth/SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp: In member function ‘virtual void SyntopiaCore::GLEngine::EngineWidget::paintEvent(QPaintEvent*)’:
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:68:27: error: ‘gluOrtho2D’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp: In member function ‘virtual void SyntopiaCore::GLEngine::EngineWidget::paintGL()’:
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:239:27: error: ‘gluOrtho2D’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:281:5: error: ‘GLUquadric’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:281:17: error: ‘g’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:281:35: error: ‘gluNewQuadric’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:282:28: error: ‘GLU_FILL’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:282:36: error: ‘gluQuadricDrawStyle’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:288:34: error: ‘gluCylinder’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp: In member function ‘void SyntopiaCore::GLEngine::EngineWidget::updatePerspective()’:
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:423:107: error: ‘gluPerspective’ was not declared in this scope
ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp: In member function ‘SyntopiaCore::Math::Vector3f SyntopiaCore::GLEngine::EngineWidget::screenTo3D(int, int, int)’:

can you help with it ?

net147 commented on 2011-08-04 00:30

Looks like a compiler bug. Maybe try compiling it again when GCC 4.6.2 is released.

net147 commented on 2011-08-04 00:28

Looks like this compiler bug:
Will be fixed in GCC 4.6.2.

crocowhile commented on 2011-07-08 16:28

This won't compile on my system. I get:

from filter_isoparametrization.cpp:29:
./texcoord_optimization.h: In member function ‘void vcg::tri::AreaPreservingTexCoordOptimization<MESH_TYPE>::InitSum() [with MESH_TYPE = BaseMesh]’:
./texcoord_optimization.h:278:5: error: ‘this’ not specified in enclosing parallel
./texcoord_optimization.h:278:5: error: enclosing parallel
./texcoord_optimization.h:285:5: error: ‘this’ not specified in enclosing parallel
./texcoord_optimization.h:290:5: error: enclosing parallel
./texcoord_optimization.h: In member function ‘vcg::tri::AreaPreservingTexCoordOptimization<MESH_TYPE>::ScalarType vcg::tri::AreaPreservingTexCoordOptimization<MESH_TYPE>::getProjArea() [with MESH_TYPE = BaseMesh, vcg::tri::AreaPreservingTexCoordOptimization<MESH_TYPE>::ScalarType = float]’:
./texcoord_optimization.h:307:8: error: ‘this’ not specified in enclosing parallel
./texcoord_optimization.h:307:8: error: enclosing parallel
./texcoord_optimization.h: In member function ‘void vcg::tri::AreaPreservingTexCoordOptimization<MESH_TYPE>::UpdateSum(const double&) [with MESH_TYPE = BaseMesh]’:
./texcoord_optimization.h:369:27: error: ‘this’ not specified in enclosing parallel
./texcoord_optimization.h:378:6: error: enclosing parallel
make[1]: *** [filter_isoparametrization.o] Error 1
make[1]: Leaving directory `/tmp/meshlab/src/meshlab/src/meshlabplugins/filter_isoparametrization'
make: *** [sub-meshlabplugins-filter_isoparametrization-make_default-ordered] Error 2

any idea?

Anonymous comment on 2011-05-05 16:58

Missing #include<stddef.h> in meshlab/src/vcglib/wrap/io_trimesh/import_ply.h.

net147 commented on 2010-06-02 00:28


Anonymous comment on 2010-06-01 15:27

As of 2010.06.01, this AUR looks to be borked; the MD5 sum has changed on the src package:

f1d7abbe92ac1a64913b505058399eec MeshLabSrc_AllInc_v123a.tgz

Also looks like the package is being extracted with a prefix of eMshLabSrc_AllInc_v123a, which is screwing up the build scripts. I had to move the contents down a directory to get it to build properly.