转自:https://github.com/cnr-isti-vclab/meshlab/issues/47
LibMpir is an external library that could be a little tricky to compile (that's particularly true on Windows...a lot easier on Linux), so we provide inside the MeshLab source code an already compile version of the library itself. Obviously that approach could be dangerous, considering the wide range of the compilers existing. If you are interested in the plugin I suggest you to:
- download the mpir 2.4.0 source code from the mpir official site http://mpir.org/downloads.html
- call ./configure --enable-cxx --enable-static --with-pic in the extracted library folder
- call ./make
- move the generated mpir.h and mpirxx.h in src\external\inc\linux-g++\mpir-2.4.0
- move the static libs libmpir.a and libmpirxx.a in src\external\lib\linux-g+(be careful the files are compiled in a hidden folder if you have the "don't show hidden folders" file browser option set to true you can waste an afternoon, as it happens to me, to find the compiled libs :D )
- try to compile again the filter_csg plugin in MeshLab
Let me know if you have still problems.
经典的数学库之一学习---VCGlib(1)http://www.cnblogs.com/icmzn/p/6640752.html
经典的数学库之一学习---VCGlib(2)
http://www.cnblogs.com/icmzn/p/6655775.html