help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Building glpk with GMP under windows.


From: 苏宣铭
Subject: [Help-glpk] Building glpk with GMP under windows.
Date: Sat, 11 Aug 2007 16:21:41 +0800

I found that someone want to build glpk with GMP under windows just as I did. The following way works. Enjoy it! 
1. The files needed to build glpk with GMP: gmp.h, gmp.lib. See http://cs.nyu.edu/exact/core/gmp/.
2. Copy gmp.h to the 'include' folder, gmp.lib to the building folder 'w32'.
3. Add '#define HAVE_GMP_H' before '#ifdef HAVE_GMP_H' in glpgmp.h to make the complier use GNU MP library.
4. Add '#pragma comment(lib, "gmp.lib")' at the front of glpk.h.
5. Rebuild the source with Build_GLPK_with_VC6.bat.


探索 Windows Vista 的世界 了解更多信息!
reply via email to

[Prev in Thread] Current Thread [Next in Thread]