[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fwd: GLPK CMake build configuration (Windows)]
From: |
Andrew Makhorin |
Subject: |
Re: [Fwd: GLPK CMake build configuration (Windows)] |
Date: |
Mon, 29 Jan 2024 20:58:02 +0300 |
On Mon, 2024-01-29 at 12:25 -0500, Derek Huang wrote:
> Hi,
>
> Quick update on this—I tried rebuilding clean again using the
> CMakeLists.txt and realized there is an issue with the glpk_5_0.def
> files in ./w32 and ./w64 since they list glp_netgen_prob as an export,
> but it has no definition for the linker to find. I would think either
> glp_netgen_prob should be removed from glpk.h and the .def file or
> some definition for glp_netgen_prob that just asserts should be added.
It is a minor annoying bug in the batch script for MS Windows.
Please see https://www.mail-archive.com/bug-glpk@gnu.org/msg01020.html .
>
> There is also an issue with running tests using ctest due to how DLL
> lookup is done at runtime, as the example programs must be run from
> ./examples (inputs are relative to that directory) so the GLPK DLL is
> not picked up. Static library builds and testing are fine however.
>
> I have updated the CMakeLists.txt docs to reflect these and have done
> a bit of cleanup and since I couldn’t fine official VCS for GLPK I’ve
> attached the updated file here.
>
> Best,
> Derek
>