bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] Cannot compile GLPK 4.59.1 on Windows


From: Andrew Makhorin
Subject: Re: [Bug-glpk] Cannot compile GLPK 4.59.1 on Windows
Date: Mon, 21 Mar 2016 13:47:56 +0300

Hi Heinrich,

Thank you for your bug report.

> GLPK 4.59.1 cannot be compiled on Windows
> 

> glpk_4_59.1.def(2) : fatal error LNK1118: syntax error in 'VERSION' statement
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 14.0\VC\BIN\cl.exe"' : return code '0x2'
> Stop.
> 
> According to https://msdn.microsoft.com/de-de/library/t9cc0ax3.aspx
> the syntax is
> VERSION major[.minor]
> 
> Thus
> VERSION 4.59.1
> is illegal.
> 
> Already release 4.57 did not compile because of an incorrect def file.

Make and def files for MS Windows are generated automatically by a
script which incorrectly substituted the version number. I will fix this
bug in a next official release.

> building GLPK for Java, GLPK for C#/CLI, and many other packages use
> Swig to create language bindings for GLPK.
> 
> This requires that ALL functions exposed in glpk.h are also mentioned
> in the def files used for compiling on Windows. In GLPK 4.59 you
> forgot:
> 
> glp_gmi_cut
> glp_gmi_gen
> glp_mir_init
> glp_mir_gen
> glp_mir_free
> glp_cfg_init
> glp_cfg_free
> glp_clq_cut
> 

I will fix this issue.


Best regards,

Andrew Makhorin





reply via email to

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