Missing include for mpirxx.h?
A processing system for 3D triangular meshes
Brought to you by:
cignoni,
granzuglia
Hello,
I just downloaded and unzipped on OpenSuse 12.2. External libs are compiled with no error. Then, when I make the full, I get a
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -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../../external/glew-1.7.0/include -I/usr/X11R6/include -I. -o filter_csg.o filter_csg.cpp In file included from filter_csg.cpp:29:0: gmpfrac.h:5:20: fatal error: mpirxx.h: No such file or directory compilation terminated.
If I manually add -I../../external/inc/linux-g++/mpir-2.4.0/, the filter compiles flawlessly.
I have same problem on x64 Debian. Does anybody have an idea how to compile it? I have tried old solutions with commenting strings, but it is now working.
Last edit: Alexander Masalskikh 2014-08-03
I faced same problem on ubuntu 12.04 (64 bits) to compile meshlab and all plugins.
I found the problem was QMAKESPEC variable was not defined (linux-g++-64 in my case). You can check value with:
First, in vcglib/wrap/ply/plystuff.h, include file unistd.h (to use the access function), so it looks like this:
Then, in meshlab/src/meshlabplugins/filter_csg/filter_csg.pro, add lines for platform linux-g++-64:
Finally, I compiled with commands:
Build programs are in meshlab/src/distrib