<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Hi Matt,</span><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">I have never seen this behavior and I routinely build Cbc on most common platforms, including Ubuntu. I can&#39;t really think of a scenario in which those variables could be undefined during the build unless perhaps the configuration failed in some way and make was executed anyway? Could you send or post the contents of /home/gidden/software/coin-</span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Cbc-trunk/build/Clp/src/config.h? That is where they should be defined. You might as well also include </span><span style="font-size:13.333333969116211px;font-family:arial,sans-serif">/home/gidden/software/coin-</span><span style="font-size:13.333333969116211px;font-family:arial,sans-serif">Cbc-trunk/build/Clp/config.log.</span></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Cheers,</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Ted<br></font><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br>

</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 28, 2014 at 12:14 PM, Matthew Gidden <span dir="ltr">&lt;<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I&#39;m running ubuntu 14.04 and get the following error when building from source (I&#39;ve tried stable 2.8, releases 2.8.7-10, and trunk -- this is from trunk, but they all fail to build with the same error). I have replicated this issue on a separate machine, also running ubuntu 14.04. I am curious if anyone else has seen this before? I&#39;ve tried to visually inspect the related config files, and they appear to be fine. Both of these systems have had coin installed on them before; however, I made sure to remove it (manually -- there is no make uninstall =( ) from one to confirm.</div>



<div><br></div><div>I checkout and install normally</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



$ svn co &lt;trunk&gt;<br>$ cd &lt;trunk&gt;; mkdir build; cd build<br>$ ./configure --prefix $HOME/.local<br>$ make</blockquote><div><br></div><div>The error is as follows:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



 g++ -DHAVE_CONFIG_H -I. -I../../../Clp/src -I/home/gidden/software/coin-Cbc-trunk/CoinUtils/src -I/home/gidden/software/coin-Cbc-trunk/build/CoinUtils/src -DCOIN_HAS_CLP -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCLP_BUILD -MT Clp_C_Interface.lo -MD -MP -MF .deps/Clp_C_Interface.Tpo -c ../../../Clp/src/Clp_C_Interface.cpp  -fPIC -DPIC -o .libs/Clp_C_Interface.o<br>



../../../Clp/src/Clp_C_Interface.cpp: In function &#39;const char* Clp_Version()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:206:11: error: &#39;CLP_VERSION&#39; was not declared in this scope<br>    return CLP_VERSION;<br>



           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMajor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:211:11: error: &#39;CLP_VERSION_MAJOR&#39; was not declared in this scope<br>    return CLP_VERSION_MAJOR;<br>



           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMinor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:215:11: error: &#39;CLP_VERSION_MINOR&#39; was not declared in this scope<br>    return CLP_VERSION_MINOR;<br>



           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionRelease()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:219:11: error: &#39;CLP_VERSION_RELEASE&#39; was not declared in this scope<br>



    return CLP_VERSION_RELEASE;<br>           ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;const char* Clp_Version()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:207:1: warning: control reaches end of non-void function [-Wreturn-type]<br>



 }<br> ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMajor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:212:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>



../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMinor()&#39;:<br>../../../Clp/src/Clp_C_Interface.cpp:216:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionRelease()&#39;:<br>



../../../Clp/src/Clp_C_Interface.cpp:220:1: warning: control reaches end of non-void function [-Wreturn-type]<br> }<br> ^<br>In file included from ../../../Clp/src/ClpModel.hpp:23:0,<br>                 from ../../../Clp/src/ClpSimplex.hpp:16,<br>



                 from ../../../Clp/src/Clp_C_Interface.cpp:14:<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp: At global scope:<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:17:14: warning: &#39;COIN_DBL_MIN&#39; defined but not used [-Wunused-variable]<br>



 const double COIN_DBL_MIN = std::numeric_limits&lt;double&gt;::min();<br>              ^<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:19:14: warning: &#39;COIN_INT_MAX&#39; defined but not used [-Wunused-variable]<br>



 const int    COIN_INT_MAX = std::numeric_limits&lt;int&gt;::max();<br>              ^<br>/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:20:14: warning: &#39;COIN_INT_MAX_AS_DOUBLE&#39; defined but not used [-Wunused-variable]<br>



 const double COIN_INT_MAX_AS_DOUBLE = std::numeric_limits&lt;int&gt;::max();<br>              ^<br>make[3]: *** [Clp_C_Interface.lo] Error 1<br>make[3]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp/src&#39;<br>



make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp/src&#39;<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp&#39;<br>



make: *** [all-recursive] Error 1<br><br></blockquote><span class="HOEnZb"><font color="#888888"><div><br></div><div> </div><div><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>

The University of Wisconsin -- Madison<br>

Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br></div></div>
</div></font></span></div>
<br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>


</div>