建设GMP库与Visual Studio? [英] Building GMP library with Visual Studio?

查看:1134
本文介绍了建设GMP库与Visual Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种简单的方法来构建GMP(GNU多precision运算库, http://gmplib.org )在Windows下,使用Visual Studio 2005?我试图找到有关建设图书馆自己的信息,也没有找到任何东西,真的帮了我。我不是很有经验的建筑库我自己(我已经成功地打造提升,但仅此而已)。

Is there an easy way to build the GMP (GNU Multiple Precision Arithmetic Library, http://gmplib.org) under Windows, using Visual Studio 2005? I tried to find information about building the library myself, but could not find anything that really helped me. I'm not very experienced with building libraries myself (I've managed to build boost, but that's about it).

,还是有我不知道的稳定(pre-建)GMP分布?

Or is there a stable (pre-built) GMP distribution that I'm unaware of?

MPIR是一个有效的替代(http://www.mpir.org)?
评价关于MPIR的GMP现场:这愤怒的GMP叉可能是一些Windows用户真正的GMP另一种选择,但他们必须处理有很多抗GMP情绪。

Is MPIR a valid alternative (http://www.mpir.org)? Comment about MPIR on the GMP site: This "angry GMP fork" might be an alternative to the real GMP for some Windows users, but they'll have to deal with lots of anti-GMP sentiments.

编辑:
该MPFR C ++包装页面中包含的信息/链接为Visual Studio和编译GMP / MPFR库,GMP / MPFR解决方案,以及:
http://www.holoborodko.com/pavel/mpfr/

推荐答案

MPIR是一个有效的替代。基本上,GMP民间不想支持建立在Windows上的。布赖恩格莱德曼,你可以看到,支持的GMP建筑在Windows上一段时间。不过,最终他和其他人分叉GMP和创建MPIR。这不是唯一的原因,但它是一个大的推动因素和MPIR重点发展的原则是它必须建立在Windows(以及Linux和Mac)。

MPIR is a valid alternative. Basically, the GMP folk didn't want to support building on Windows at all. Brian Gladman, as you can see, supported GMP building on Windows for a while. However, eventually he and others forked GMP and created MPIR. That wasn't the sole reason but it was a large driving factor and one of the key development principles of MPIR is it must build on Windows (as well as Linux and Mac).

这篇关于建设GMP库与Visual Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆