I assume you are asking for procedure to create a GLPK DLL on Windows XP using VS 2008. I describe one of the possible way of creating the DLL.
You will need to compile the GLPK source code in VS to create the DLL, just like creating any other DLL. However please note that to export the functions, GLPK provides a .def file. The file can be found at following location of GLPK release tarball: w32/glpk_4_28.def 1. To build a GLPK DLL, create a new project 'glpk_4_28' in VS by selecting appropriate options. 2. Add GLPK source code and include files. Set relevant project properties, like: C/C++ -> General -> Additional Include Dir = Location of GLPK header (.h) files on your m/c Module definition file = glpk_4_28.def 3. Copy .def file w32/glpk_4_28.def to the project directory. 4. Try to build. 5. If successful you will glpk_4_28.lib and glpk_4_28.dll files ready in the output directories. 6. Use glpk_4_28.lib to link you application (say a C program). Copy glpk_4_28.dll to same directory as your application or to directory C:\WINDOWS\system32. When you run your application it will search for the DLL. Please note that I have not tested above procedure so experiment a bit to overcome the problems that you may face. In GLPK release tarball, w32 directory also contains some Makefiles/batch files in case you want to use them to build GLPK DLL. References: http://msdn2.microsoft.com/en-us/library/d91k01sh.aspx Try searching GLPK mailing list archive for relevant posts from past. http://lists.gnu.org/archive/html/help-glpk/ On Mon, Apr 28, 2008 at 9:44 AM, Yaron Kretchmer <[EMAIL PROTECTED]> wrote: > Hi All > I'm trying to compile glpk as a DLL so I can integrate it with Ruby. > Can anyone share experiences of doing that? > > Thanks > Yaron > > > _______________________________________________ > Help-glpk mailing list > Help-glpk@gnu.org > http://lists.gnu.org/mailman/listinfo/help-glpk > -- Vijay Patil _______________________________________________ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk