[BuildTools-tickets] [BuildTools] #112: build shared libraries on Windows
BuildTools
coin-trac at coin-or.org
Wed Oct 17 16:20:15 EDT 2018
#112: build shared libraries on Windows
-----------------------------+---------------------------
Reporter: stefan | Owner: stefan
Type: defect | Status: assigned
Priority: major | Component: build system
Version: trunk | Resolution:
Keywords: autotools-update |
-----------------------------+---------------------------
Comment (by stefan):
Building a !CoinUtils DLL with a static GLPK library (libcoinglpk.lib) is
not possible:
{{{
*** Warning: This system cannot link to static lib archive /home/stefan
/build-msvc/lib/libcoinglpk.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
}}}
So doing static lib only for third-party code will not work. Building a
shared lib for Glpk could work if not setting the win32-dll flag of
LT_INIT, since that is only C code. But it essentially means that using
Glpk's configure will not work here, too.
--
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/112#comment:3>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes
More information about the BuildTools-tickets
mailing list