I saw this bug when searching for my error:
https://sourceforge.net/tracker/index.php?func=detail&aid=3474158&group_id=149444&atid=774731
It happens to me on the new Mageia Linux Cauldron. It says that it was fixed, but there wasn't a MeshLab release since 1.3.1 which is over a year old.
I am getting:
<<<<
make[1]: Entering directory /home/shlomif/Download/unpack/Mageia/meshlab/BUILD/meshlab-1.3.1/meshlab/src/common'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -D__DISABLE_AUTO_STATS__ -DPLUGIN_DIR=\"/usr/lib64/meshlab\" -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I/usr/include/QtScript -I/usr/include -I../.. -I../../../vcglib -I. -I/usr/include -I. -o filterparameter.o filterparameter.cpp
In file included from meshmodel.h:52:0,
from filterparameter.cpp:31:
../../../vcglib/wrap/gl/trimesh.h: In function ‘void vcg::Crease(MESH_TYPE&, typename MESH_TYPE::scalar_type)’:
../../../vcglib/wrap/gl/trimesh.h:1006:9: error: ‘vcg::math::Swap’ is not a class member
make[1]: *** [filterparameter.o] Error 1
make[1]: Leaving directory/home/shlomif/Download/unpack/Mageia/meshlab/BUILD/meshlab-1.3.1/meshlab/src/common'
make: *** [sub-common-make_default-ordered] Error 2
error: Bad exit status from /home/shlomif/Download/unpack/Mageia/meshlab/BUILDROOT/rpm-tmp.pyi2Yb (%build)
Please either make a new release or alternatively attach a patch that fixes the build with gcc-4.7.1.
Regards,
-- Shlomi Fish
I am having the exact same error attempting to compile 1.3.2 on Fedora 17. I can install meshlab 1.3.1 through yum package manager. However, meshlab 1.3.1 has bugs that prevent me from accomplishing what I am trying to do.
Did you ever find a solution to this. I'm about 90% sure I am trying to complile it correctly. I'd be great if this bug was fixed or meshlab 1.3.2 was packaged and placed in a repository. 1.3.1 is already in Fedora's repositoy so wouldn't it just need an update?
I am having the same error on openSUSE 12.2.
gcc version 4.7.1 20120723 [gcc-4_7-branch revision 189773] (SUSE Linux)
Got the same problem, to fix it open whatever/vcglib/wrap/gl/trimesh.h and replace the line 1006:
m.vert.math::Swap(newvert);
with
m.vert.math(newvert);
Thank you danadn.