[Top][All Lists]

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

[Fwd: Shared library build for GLPK 5.0 fails on Windows]

From: Andrew Makhorin
Subject: [Fwd: Shared library build for GLPK 5.0 fails on Windows]
Date: Wed, 06 Jan 2021 11:33:00 +0300

-------- Forwarded Message --------
From: Christian Diener <christian.diener@isbscience.org>
To: bug-glpk@gnu.org
Subject: Shared library build for GLPK 5.0 fails on Windows
Date: Tue, 5 Jan 2021 17:38:17 -0800


we are observing build failures on conda-forge for GLPK 5.0. The used
build instructions are in brief:

cd w%ARCH%
copy config_VC config.h
:: Get the major minor version info (e.g. `4_60`)
python -c "import os;
print('_'.join(os.environ['PKG_VERSION'].split('.')[:2]))" > temp.txt
set /p MAJ_MIN_VER=<temp.txt
nmake /f Makefile_VC
nmake /f Makefile_VC_DLL
copy glpsol.exe %LIBRARY_BIN%
copy ..\src\glpk.h %LIBRARY_INC%
copy glpk.lib %LIBRARY_LIB%
copy glpk_%MAJ_MIN_VER%.dll %LIBRARY_BIN%
copy glpk_%MAJ_MIN_VER%.dll %LIBRARY_BIN%\glpk.dll
if errorlevel 1 exit 1

Which will error out with the following on the Azure runner:

glpk_5_0.def : error LNK2001: unresolved external symbol glp_netgen_prob
glpk_5_0.lib : fatal error LNK1120: 1 unresolved externals

A full log and definition of the runner can be found at https://dev.azur

Thanks for your help!

Christian Diener, PhD
+1 (206) 732 1363

Institute for Systems Biology
401 Terry Ave. N.
98109 Seattle, WA, USA

Website | Twitter | Github

reply via email to

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