<div dir="ltr">Thanks for the feedback, it's weird that it failed on ubuntu:focal, will have to look into that. Where were you suggesting that the Dependencies be surfaced? In the README, the dependencies are referenced in Step 2 here: <a href="https://github.com/coin-or/Cbc#without-coinbrew-expert-users">https://github.com/coin-or/Cbc#without-coinbrew-expert-users</a>.<div><br></div><div>Ted </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 2, 2020 at 8:33 PM <<a href="mailto:james.howey@gmail.com">james.howey@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_3306773771517122560WordSection1"><p class="MsoNormal">Got it working.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I had tried to use coinbrew, but it failed, and I had retreated to individual configure/make invocations.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Failures were probably due to:<u></u><u></u></p><ul style="margin-top:0in" type="disc"><li class="gmail-m_3306773771517122560MsoListParagraph" style="margin-left:0in">Missing dependencies, haphazardly added per failure<u></u><u></u></li><li class="gmail-m_3306773771517122560MsoListParagraph" style="margin-left:0in">I was on a ubunto:focal install, not xenial<u></u><u></u></li></ul><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Your docker image gave me what I needed to build in docker, then in my desktop. My modified version looks like this:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">FROM</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> ubuntu:xenial<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u> <u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> apt-get update<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> apt-get update && apt-get -y install --no-install-recommends git subversion gcc g++ make wget gfortran patch pkg-config file<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> apt-get update && apt-get -y install --no-install-recommends libgfortran-5-dev libblas-dev liblapack-dev libmetis-dev libnauty2-dev<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> apt-get update && apt-get -y install --no-install-recommends ca-certificates<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u> <u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> mkdir /var/coin-or<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">WORKDIR</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> /var/coin-or<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> wget <a href="https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew" target="_blank">https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew</a><u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> chmod u+x coinbrew<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> ./coinbrew fetch Cbc@master --skip=</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"ThirdParty/Blas ThirdParty/Lapack ThirdParty/Metis"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> --no-prompt<u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(86,156,214)">RUN</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> ./coinbrew build Cbc --skip=</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"ThirdParty/Blas ThirdParty/Lapack ThirdParty/Metis"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> --no-prompt <u></u><u></u></span></p><p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u> <u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Docker build failed with “FROM ubuntu”, but did great once xenial was specified. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am working in WSL, and appropriately sudo’ed versions of these commands ran fine on a new ubuntu1604 distro. I am good to go.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">It might be good to surface the dependencies in the install directions.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks for your attention and support.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">jkh<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in"><p class="MsoNormal"><b>From:</b> Ted Ralphs <<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>> <br><b>Sent:</b> Wednesday, September 2, 2020 6:28 AM<br><b>To:</b> James Howey <<a href="mailto:james.howey@gmail.com" target="_blank">james.howey@gmail.com</a>><br><b>Cc:</b> cbc <<a href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a>><br><b>Subject:</b> Re: [Cbc] build error in Cgl<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Are you using coinbrew? If you can say exactly how you downloaded and built the code, I can try to figure out what's going on, but it seems like there's been some sort of corruption. The only version of OsiClpSolverInterface.cpp that includes OsiClpConfig.h is the current master, but in current master OsiClpConfig.h is sitting right in the same directory, which you should have seen when you went looking.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="https://github.com/coin-or/Clp/tree/master/src/OsiClp" target="_blank">https://github.com/coin-or/Clp/tree/master/src/OsiClp</a> <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If you got the code with coinbrew or cloned the git repos manually, see what branch you're in and if you have a clean copy of the repo.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Cheers,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Ted <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Tue, Sep 1, 2020 at 8:27 PM <<a href="mailto:james.howey@gmail.com" target="_blank">james.howey@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">I am trying to build cbc, which depends on cgl, but make cgl fails with the following:<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Making all in src/CglGomory<u></u><u></u></p><p class="MsoNormal">make[1]: Entering directory '/home/jamesk/Coin/Cgl/src/CglGomory'<u></u><u></u></p><p class="MsoNormal">  CXX      CglGomory.lo<u></u><u></u></p><p class="MsoNormal">In file included from CglGomory.cpp:33:0:<u></u><u></u></p><p class="MsoNormal">OsiClpSolverInterface.hpp:21:26: fatal error: OsiClpConfig.h: No such file or directory<u></u><u></u></p><p class="MsoNormal">compilation terminated.<u></u><u></u></p><p class="MsoNormal">make[1]: *** [Makefile:479: CglGomory.lo] Error 1<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I see ./Clp/src/OsiClp/OsiClpSolverInterface.hpp, but it references OsiClpConfig.h, at which point I stopped looking.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I figure there is some brilliant way to fix this, but all I know are stupid ways.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Any guidance?<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">jkh<u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>Cbc mailing list<br><a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br><a href="https://list.coin-or.org/mailman/listinfo/cbc" target="_blank">https://list.coin-or.org/mailman/listinfo/cbc</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><div><div><div><div><p class="MsoNormal">Dr. Ted Ralphs<br>Professor, Industrial and Systems Engineering<br>Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dr. Ted Ralphs<br>Professor, Industrial and Systems Engineering<br>Lehigh University<br>(610) 628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div></div></div></div></div></div>