<div class="gmail_quote">Hello Stefan<br>I am aware that it can be built under Linux. What I asked in the previous mail was how to modify the CMake script so that it builds under linux. If you take a look in the CMake subfolder, you will find a Win32CompilesFlag.cmake. How can we write a similar script (say LinuxCompilesFlag.cmake)? I am interested in the defines that go with it. If that is available, then this can be used to compile the project under Linux as well. I have a lurking suspicion that most of the defines for MinGW can be reused for Linux (in addition to -fPIC for 64-but builds). However, I would rather have confirmation from someone who has built it under Linux.<br>

<br>Thank you for the information about LAPACK. <br><br>How can we build share libraries for the sub projects?<br><br>Best regards<span class="HOEnZb"><font color="#888888"><br>Sumit</font></span><div class="HOEnZb"><div class="h5">
<br><br><div class="gmail_quote">On Wed, Aug 8, 2012 at 5:06 AM, Stefan Vigerske <span dir="ltr">&lt;<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br>
<br>
On 08/08/2012 10:25 AM, Sumit K. Nath wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Cbc subscribers<br>
I have started a project at <a href="http://code.google.com/p/cmake-coin/" target="_blank">http://code.google.com/p/<u></u>cmake-coin/</a> that will<br>
leverage CMake to build Cbc (among other COIN-OR projects) across<br>
platforms.<br>
<br>
May I request you to please take a look at it and try it out? The project<br>
currently is tailor made for Windows platforms. I need some help in making<br>
it compatible with other platforms, primarily Linux. Please take a look at<br>
the wiki page in the project as to how to go about building the libraries.<br>
Currently, the project does not build any third party dependencies. In<br>
addition, the project build has been tested on Visual Studio 10 and MinGw<br>
(gcc 4.7.0).<br>
<br>
During the build, I found a couple of things that I want to share with<br>
members here:<br>
a.) I am unable to build shared libraries for sub-projects. Is there a<br>
mechanism for doing this? Maybe I am missing out some defines.<br>
</blockquote>
<br></div>
Works for me (linux, configure), must be a problem with your setup then.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
b.) How is LAPACK used in the library?<br>
</blockquote>
<br></div>
LAPACK can be used for matrix factorization. The corresponding code is somewhere in CoinUtils.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
c.) I ma accumulated all pre-processor defines using MSys. However, Cygwin<br>
has been left out as I do not have Cygwin. Please share your findings on<br>
this as well.<br>
</blockquote>
<br></div>
You can get Cygwin at <a href="http://www.cygwin.com" target="_blank">http://www.cygwin.com</a><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
d.) A few examples in the Cbc/examples do not work. They are driver3.cpp<br>
and driver4.cpp. In addition, CbcSolverLongThin.cpp has an include<br>
&quot;//#include &quot;CbcHeuristicUser.hpp&quot;&quot; that is not available in the current<br>
SVN. Hence, I had to comment out this file.<br>
</blockquote>
<br></div>
CbcSolverLongThin.cpp does not need to be compiled, because it is not used by any example.<br>
Anyhow, the include of CbcHeuristicUser.hpp is now removed in trunk.<br>
<br>
driver3 and driver4 compile fine for me.<br>
<br>
Stefan<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
f.) Once the library is installed, other projects can also call it from<br>
CMake. An example for doing this can be found in the ExternalTest folder of<br>
the cmake-coin project.<br>
<br>
Feedback of any kind is welcome.<br>
Best regards<br>
Sumit<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/cbc</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>
</div></div></div><br>