[Cbc] coin-or CBC static library
Haroldo Gambini Santos
haroldo.santos at gmail.com
Thu Mar 31 09:11:40 EDT 2016
Hi HaoZhou,
When building use
(maybe you need to uninstall first)
./configure *--enable-static*
make
sudo make install
While building your code you also need to add the option
-static (or --static) to the linker
Cheers,
> COIN-OR Team:
> Hi,
> I am a student from Nanjing University. I want to use the
> coin-or CBC library to solve some problem.
> But I have a problem in compiling my program with the CBC
> static library.
> I can success compiling my program with dynamic library. Can
> you tell me how to compile the program with the static library? (I get
> the static library by compiling the CBC-2.9.8 source code)
> Thanks.
>
> HaoZhou
> Nanjing University
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
--
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
http://www.decom.ufop.br/haroldo/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20160331/0f35e154/attachment.html>
More information about the Cbc
mailing list