Trying to install MeshLabSrc_AllInc_v123a
I get an error after the last make has run quite some time...
cd meshlabplugins/io_3ds/ && make -f Makefile
make[1]: Betrete Verzeichnis '/home/cglass/MeshLabSrc_AllInc_v123a/meshlab/src/meshlabplugins/io_3ds'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.5.1/include -I../../external/lib3ds-1.3.0 -I/usr/X11R6/include -I. -o meshio.o meshio.cpp
In file included from /usr/include/c++/4.4/ext/hash_map:60,
from ../../../../vcglib/vcg/space/index/spatial_hashing.h:41,
from ../../../../vcglib/vcg/complex/trimesh/clean.h:38,
from ../../../../vcglib/wrap/io_trimesh/import_ptx.h:43,
from meshio.cpp:84:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from ../../../../vcglib/vcg/simplex/face/base.h:80,
from ../../common/meshmodel.h:34,
from ../../common/filterparameter.h:33,
from ../../common/interfaces.h:33,
from meshio.h:30,
from meshio.cpp:72:
../../../../vcglib/vcg/simplex/face/component.h:159: warning: type qualifiers ignored on function return type
../../../../vcglib/vcg/simplex/face/component.h:160: warning: type qualifiers ignored on function return type
../../../../vcglib/vcg/simplex/face/component.h:161: warning: type qualifiers ignored on function return type
In file included from meshio.cpp:82:
../../../../vcglib/wrap/io_trimesh/import_obj.h:702: warning: type qualifiers ignored on function return type
../../../../vcglib/wrap/io_trimesh/import_obj.h:733: warning: type qualifiers ignored on function return type
../../../../vcglib/wrap/io_trimesh/import_obj.h:749: warning: type qualifiers ignored on function return type
../../../../vcglib/wrap/io_trimesh/import_obj.h:754: warning: type qualifiers ignored on function return type
../../../../vcglib/wrap/io_trimesh/import_obj.h:783: warning: type qualifiers ignored on function return type
../../../../vcglib/wrap/io_trimesh/import_obj.h:813: warning: type qualifiers ignored on function return type
In file included from meshio.cpp:83:
../../../../vcglib/wrap/io_trimesh/import_off.h:619: warning: type qualifiers ignored on function return type
In file included from ../../../../vcglib/vcg/complex/trimesh/polygon_support.h:28,
from ../../../../vcglib/wrap/io_trimesh/export_off.h:35,
from ../../../../vcglib/wrap/io_trimesh/export.h:54,
from meshio.cpp:86:
../../../../vcglib/vcg/complex/trimesh/subset.h:84: warning: type qualifiers ignored on function return type
../../../../vcglib/vcg/complex/trimesh/subset.h:89: warning: type qualifiers ignored on function return type
../../../../vcglib/vcg/complex/trimesh/subset.h:94: warning: type qualifiers ignored on function return type
In file included from meshio.cpp:76:
../../../../vcglib/wrap/io_trimesh/export_3ds.h: In static member function ‘static int vcg::tri::io::Exporter3DS<savemeshtype>::SaveBinary(SaveMeshType&, const char, const int&, bool ()(int, const char*)) [with SaveMeshType = CMeshO]’:
../../../../vcglib/wrap/io_trimesh/export_3ds.h:425: warning: ‘t0.vcg::TexCoord2<float, 1="">::_t[0].vcg::Point2<float>::_v[1]’ may be used uninitialized in this function
../../../../vcglib/wrap/io_trimesh/export_3ds.h:425: warning: ‘t0.vcg::TexCoord2<float, 1="">::_t[0].vcg::Point2<float>::_v[0]’ may be used uninitialized in this function
../../../../vcglib/wrap/io_trimesh/export_3ds.h:425: warning: ‘t1.vcg::TexCoord2<float, 1="">::_t[0].vcg::Point2<float>::_v[1]’ may be used uninitialized in this function
../../../../vcglib/wrap/io_trimesh/export_3ds.h:425: warning: ‘t1.vcg::TexCoord2<float, 1="">::_t[0].vcg::Point2<float>::_v[0]’ may be used uninitialized in this function
../../../../vcglib/wrap/io_trimesh/export_3ds.h:425: warning: ‘t2.vcg::TexCoord2<float, 1="">::_t[0].vcg::Point2<float>::_v[1]’ may be used uninitialized in this function
../../../../vcglib/wrap/io_trimesh/export_3ds.h:425: warning: ‘t2.vcg::TexCoord2<float, 1="">::_t[0].vcg::Point2<float>::_v[0]’ may be used uninitialized in this function
/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.5.1/include -I../../external/lib3ds-1.3.0 -I/usr/X11R6/include -I. meshio.h -o moc_meshio.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.5.1/include -I../../external/lib3ds-1.3.0 -I/usr/X11R6/include -I. -o moc_meshio.o moc_meshio.cpp
In file included from ../../../../vcglib/vcg/simplex/face/base.h:80,
from ../../common/meshmodel.h:34,
from ../../common/filterparameter.h:33,
from ../../common/interfaces.h:33,
from meshio.h:30,
from moc_meshio.cpp:10:
../../../../vcglib/vcg/simplex/face/component.h:159: warning: type qualifiers ignored on function return type
../../../../vcglib/vcg/simplex/face/component.h:160: warning: type qualifiers ignored on function return type
../../../../vcglib/vcg/simplex/face/component.h:161: warning: type qualifiers ignored on function return type
rm -f libio_3ds.so
g++ -Wl,-O1 -shared -o libio_3ds.so meshio.o moc_meshio.o -L/usr/lib -L/usr/X11R6/lib -L../../distrib -lcommon ../../external/lib/linux-g++/lib3ds.a -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
/usr/bin/ld: ../../external/lib/linux-g++/lib3ds.a(file.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
../../external/lib/linux-g++/lib3ds.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [../../distrib/plugins/libio_3ds.so] Fehler 1
make[1]: Verlasse Verzeichnis '/home/username/MeshLabSrc_AllInc_v123a/meshlab/src/meshlabplugins/io_3ds'
make: *** [sub-meshlabplugins-io_3ds-make_default-ordered] Fehler 2</float></float,></float></float,></float></float,></float></float,></float></float,></float></float,></savemeshtype>
PS: Someone could add a note here that qt4-make instead of qmake is also fine when installing:
http://meshlab.sourceforge.net/wiki/index.php/Compiling_devel
qmake -recursive external.pro
uses the old qt3-make instead of the qt4-make version installed on my machine.
Edit:
qmake-qt4 -recursive external.pro
would be the line to add to documentation...