[Coin-discuss] How to link my program with Osi

Joe Boublack joe.boublack at gmail.com
Thu Feb 21 16:41:40 EST 2008


Hi,

I meet difficulties to integrate OSInterface in a separate software.
It seems that linking with a fixed set of libraries (-lOsi -lOsiCbc
-lOsiCpx ... etc) is impossible because this set may change from one
machine to another. Is there a "portable" way to obtain the list of
necessary librairies to link with Osi ?


Note : my program is built by autotools (configure, automake, etc). In
a first attempt, i try to put something like
AC_CHECK_HEADERS(OSInstance.h,
                 COIN_OSI_LIBS="-lOsi",
                 COIN_OSI_LIBS=)
in my top configure.ac

Thanks in advance.



More information about the Coin-discuss mailing list