GMP on visual studio c++

时光怂恿深爱的人放手 提交于 2019-12-11 22:01:06

问题


I'm new for the c++ programming. I installed OpenSSL for my visual studio. I would like to install GMP for visual studio. How should I do that? There is no file such as gmp.exe. I dont know how to install this. Any help would be appreciated.


回答1:


It isn't that hard to install GMP on windows.

First, download the GMP tar file. You have to install cygwin on windows with gcc, make and m4. You can then run linux command using cygwin. Decompress the tar file, then (RECOMMEND to check out the INSTALL file).

Do ./configure, if you need anything special like running c++ gmp code, you have to add flags. Do./configure --help to check it out. Then run make, make check, and finally run make install.

You will have to add the path back to your project properties. Enjoy !



来源:https://stackoverflow.com/questions/20415722/gmp-on-visual-studio-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!