<font size=2 face="sans-serif">The Application Templates project looks
very helpful, especially if it is more up-to-date. &nbsp;The canned applications
referred to in CoinEasy are not sufficient for our needs; for reasons that
aren't really germane here, we have to add some code and call the COIN
API, so we have to either build from source or compile against libraries.</font>
<br>
<br><font size=2 face="sans-serif">I don't know if, given the existence
of the Applications Template project, it makes sense to continue to try
to get the &quot;Osiexample&quot; build to complete. &nbsp;I can report
the next step, though. &nbsp;We changed -lCoin to -lCoinUtils, and now
at least the build does something. &nbsp;What it does is spit out almost
4000 lines of undefined symbol errors. &nbsp;These are of two kinds: there
are the gxx_personality/SjLj errors, that indicate a mismatch in exception-handling
technology; I'm not sure what to do about those. &nbsp;And then there are
COIN-internal symbols, which probably indicate that I have missing libraries
in my LIB_FLAGS. &nbsp;I'm guessing that new dependencies have appeared
since this example was promulgated, but I don't know how to figure out
which libraries to add. &nbsp;Perhaps the answer to these questions is
&quot;Use the Application Templates instead; they are less moth-eaten.&quot;
&nbsp;Thoughts?</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Ted Ralphs &lt;ted@Lehigh.EDU&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">acw@ascent.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">CoinBinary@list.coin-or.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">06/29/2012 01:03 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [CoinBinary] Missing library, building
example under MinGW</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>That seems to just be a mistake in the Makefile. It should
be CoinUtils. There is no libCoin. This zip file is quite old and there
have been changes that should make some of this easier, such as support
for the use of pkg-config. Alaos, we have not been very good in general
at keeping all of this sort of thing up to date and making it obvious and
easy how to get started. Too much to do and not enough manpower. <br>
<br>
A few years back, we started another project called CoinEasy, which was
supposed to be the single entry point for new users that explained how
to get started, but as with everything, it has been difficult to to keep
it up and we have not publicized it well. Nevertheless, it is probably
a better starting point than what you're working with.<br>
</font><font size=3 color=blue><u><br>
</u></font><a href="https://projects.coin-or.org/CoinEasy"><font size=3 color=blue><u>https://projects.coin-or.org/CoinEasy</u></font></a><font size=3><br>
<br>
There is a project called &quot;application templates&quot; pointed to
on the CoinEasy page that has a more complete set of examples, Makefiles,
etc. <br>
</font><font size=3 color=blue><u><br>
</u></font><a href="https://projects.coin-or.org/CoinBazaar/wiki/Projects/ApplicationTemplates"><font size=3 color=blue><u>https://projects.coin-or.org/CoinBazaar/wiki/Projects/ApplicationTemplates</u></font></a><font size=3><br>
<br>
Please feel free to post additional questions and we'll try to use that
as motivation to get some of this cleaned up :).<br>
<br>
Cheers,<br>
<br>
Ted<br>
</font>
<br><font size=3>On Fri, Jun 29, 2012 at 12:46 PM, &lt;</font><a href=mailto:acw@ascent.com target=_blank><font size=3 color=blue><u>acw@ascent.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3>&nbsp;</font><font size=3 face="sans-serif">I downloaded
and installed the CoinAll binary distribution on my generic Windows XP
desktop. &nbsp;I installed MinGW first, and chose the MinGW distribution
on the download page.</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
The command-line binaries seem to work fine.</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
But when I try to work the example given on the CoinBinary wiki project
page, I run into trouble. &nbsp;In particular I am trying to build the
one called &quot;Osiexample&quot;. &nbsp;I have MinGW g++, so I'm typing
&quot;make -f Makefile.Osiexample&quot;. &nbsp;(The NMakefile wants to
use the Visual Studio compiler.)</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
I had to adjust COIN_DIR and COIN_INC_DIR a little because the arrangement
of directories is not exactly the same as the example expects. &nbsp;This
wasn't a problem.</font><font size=3> </font><font size=3 face="sans-serif"><br>
<br>
My problem is that the build fails looking for the library libCoin.a. &nbsp;I
looked in the directory win32-mingw-gcc4.2.1/lib, and it's just not there.
&nbsp;CoinMP, yes. &nbsp;CoinUtils, yes. &nbsp;Just plain Coin, no.</font><font size=3>
</font><font size=3 face="sans-serif"><br>
<br>
Does anyone have a suggestion? &nbsp;Thank you.</font><font size=3> <br>
_______________________________________________<br>
CoinBinary mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:CoinBinary@list.coin-or.org"><font size=3 color=blue><u>CoinBinary@list.coin-or.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="http://list.coin-or.org/mailman/listinfo/coinbinary" target=_blank><font size=3 color=blue><u>http://list.coin-or.org/mailman/listinfo/coinbinary</u></font></a><font size=3><br>
</font>
<br><font size=3><br>
<br>
<br>
-- <br>
Dr. Ted Ralphs<br>
Associate Professor, Lehigh University<br>
(610) 628-1280<br>
ted 'at' lehigh 'dot' edu</font><font size=3 color=blue><u><br>
</u></font><a href=http://coral.ie.lehigh.edu/%7Eted target=_blank><font size=3 color=blue><u>coral.ie.lehigh.edu/~ted</u></font></a><font size=3><br>
</font>
<br>