<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi HaoZhou,<br>
<br>
When building use<br>
(maybe you need to uninstall first)<br>
<br>
./configure <b>--enable-static</b> <br>
make <br>
sudo make install<br>
<br>
While building your code you also need to add the option<br>
-static (or --static) to the linker<br>
<br>
Cheers,<br>
<blockquote cite="mid:tencent_7944AA931F2CF1AB5A1EB88F@qq.com"
type="cite">
<div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;">COIN-OR Team:</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;"> Hi,</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;"> I am a student from
Nanjing University. I want to use the coin-or CBC library to
solve some problem.</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;"> But I have a problem in
compiling my program with the CBC static library.</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;"> 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)</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;"> Thanks.</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;"><br>
</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;">HaoZhou</div>
<div style="font-family: 'lucida Grande', Verdana, 'Microsoft
YaHei'; line-height: 23.8px;">Nanjing University</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
<a class="moz-txt-link-freetext" href="http://www.decom.ufop.br/haroldo/">http://www.decom.ufop.br/haroldo/</a></pre>
</body>
</html>