meshlab 编译 libmpir问题

转自: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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值