[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
Hi,
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
e.com/conda-forge/feedstock-
builds/_build/results?buildId=252916&view=logs&j=a70f640f-cc53-5cd3-
6cdc-236a1aa90802&t=f5d15007-a01c-5ad8-c9ce-4d519d3b275f
Thanks for your help!
Christian Diener, PhD
cdiener@isbscience.org
+1 (206) 732 1363
Institute for Systems Biology
401 Terry Ave. N.
98109 Seattle, WA, USA
Website | Twitter | Github
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fwd: Shared library build for GLPK 5.0 fails on Windows],
Andrew Makhorin <=