Thanks Ted, yes that's exactly it - I was looking in the wrong directory. Sorry to waste your time on something like that.<br><br>Thanks again for your quick response!<br><br>Cheers,<br><br>Jack<br><br><div class="gmail_quote">
On Thu, Jan 6, 2011 at 4:14 PM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It looks to me like you've probably done a VPATH build, i.e., you did<br>
something like<br>
<br>
cd Bcp<br>
mkdir build<br>
cd build<br>
../configure<br>
make<br>
<br>
But then you're looking for the Makefile in Bcp/examples/BAC instead<br>
of Bcp/build/examples/BAC. If that doesn't fix it, you could post the<br>
exact commands you used for the whole build sequence.<br>
<br>
Cheers,<br>
<br>
Ted<br>
<div><div></div><div class="h5"><br>
On Thu, Jan 6, 2011 at 10:12 AM, Jack Croucher <<a href="mailto:j.s.croucher@gmail.com">j.s.croucher@gmail.com</a>> wrote:<br>
> Hello Everyone,<br>
><br>
> I'm trying to run the BAC example which comes with BCP (1.2.2). I've done my<br>
> best to follow the steps outlined in Francois Margot's "BAC: A BCP based<br>
> Branch-and-Cut Example" but the makefile for the BAC example (or any of the<br>
> examples for that matter) do not seem to be created. When I run "make" in<br>
> the BAC directory I get the following error (since there is no makefile):<br>
><br>
> make: *** No targets specified and no makefile found. Stop.<br>
><br>
> It was my understanding that this makefile was generated automatically when<br>
> I configured the package? The last of the configure output is:<br>
><br>
> ...<br>
> config.status: creating Makefile<br>
> config.status: creating src/Makefile<br>
> config.status: creating test/BAC/Makefile<br>
> config.status: creating examples/BAC/Makefile<br>
> config.status: creating examples/MCF-1/Makefile<br>
> config.status: creating examples/MCF-2/Makefile<br>
> config.status: creating examples/MCF-3/Makefile<br>
> config.status: creating bcp_addlibs.txt<br>
> config.status: creating inc/config_bcp.h<br>
> config.status: executing depfiles commands<br>
> configure: Configuration of Bcp successful<br>
> configure: Creating VPATH links for data files<br>
> configure: Configuration of Bcp successful<br>
><br>
> So it appears (at least to me) to have created the makefile, but I can only<br>
> see <a href="http://makefile.in" target="_blank">makefile.in</a> in the BAC directory. "make test" seems to run fine and<br>
> generate a solution.<br>
><br>
> Any help you could provide would be great as I'd love to play around with<br>
> this example. Hopefully I'm just doing something stupid, as I'm relatively<br>
> new to Linux and Bcp, so I do apologise for taking up your time on something<br>
> which should be pretty trivial. As far as I can tell I've configured both<br>
> the /build and /buildg directories correctly and used "make" and "make<br>
> install" in both.<br>
><br>
> Thanks in advance,<br>
><br>
> Jack<br>
><br>
</div></div><div class="im">> _______________________________________________<br>
> BCP mailing list<br>
> <a href="mailto:BCP@list.coin-or.org">BCP@list.coin-or.org</a><br>
> <a href="http://list.coin-or.org/mailman/listinfo/bcp" target="_blank">http://list.coin-or.org/mailman/listinfo/bcp</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
</div>Dr. Ted Ralphs<br>
Associate Professor, Lehigh University<br>
(610) 628-1280<br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</blockquote></div><br>