Menu

building Glpk 4.52.1 on Windows (XP SP3) with MSVC 10

Allan
2013-09-15
2013-09-17
  • Allan

    Allan - 2013-09-15

    Hi everyone,
    I tried to build Glpk 4.52.1 with MSVC 10 Express Edition but I could not link a .dll, only a static library glpk.lib. I did also try with Mingw (mingw32-gcc-4.8.1) and the Gnuwin source code package for Glpk 4.34 with success. I successfully compiled glpk36.dll. (The library version in src/Makefile.am is '36.0.1'). I made an MSVC import library for MSVC using glpk36.dll.def produced by the Mingw build. Will there be a build-winglpk package anytime soon?

     
  • Allan

    Allan - 2013-09-17

    Never mind, I found out how to fix the original source code package of GLPK 4.52.1 to build a .dll ('glpk-4_52_1.dll'). There are a syntax errors inside the export symbols definitions file 'glpk-4_52.1.def' which itself must be renamed to 'glpk-4_52_1.def' to get the build to work. The library version remains 4.52 according to the Windows naming convention.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.