Hi Ted,<div><br></div><div>Checked out Stable 2.7, works great, built it with problems.</div><div>I sympathise about the configuration problems - I&#39;ve hit that one a few times myself!</div><div><br></div><div>Thanks for your help.</div>
<div><br></div><div>Cheers,</div><div>Iain<br><br><div class="gmail_quote">On 22 July 2011 07:43, Ted Ralphs <span dir="ltr">&lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK, I just went through and re-updated everything. It *should* all be<br>
fixed now. One of the problems is that we are now supporting 64-bit<br>
configurations, so there are four total build types and Microsoft<br>
makes it so very easy to make changes in one configuration and not in<br>
others by accident. It sometimes does not even save all of your<br>
changes when you make changes to multiple configurations unless you<br>
hit the &quot;Apply&quot; button. This seems like an obvious bug. What a<br>
headache! Can you get a fresh checkout of 2.7 and see if it all works<br>
now out of the box? Then I will make a new release.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Ted<br>
</font><div><div></div><div class="h5"><br>
On Thu, Jul 21, 2011 at 12:21 PM, Ted Ralphs &lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt; wrote:<br>
&gt; Hi Iain,<br>
&gt;<br>
&gt; Sorry about that! These are exactly the kinds of changes that I had to<br>
&gt; make in dozens of MSVC++ 2010 files to get them working again, but I<br>
&gt; must have missed some. Let me just try to make the changes and if it<br>
&gt; looks easier to get the patch from you, I&#39;ll let you know. Actually,<br>
&gt; if it&#39;s not too much trouble, you could try just sending the project<br>
&gt; and solution files you modified in e-mail off-line. I will then make a<br>
&gt; new release of Cbc with the new files.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Ted<br>
&gt;<br>
&gt; On Thu, Jul 21, 2011 at 3:47 AM, Iain Dunning &lt;<a href="mailto:iaindunning@gmail.com">iaindunning@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi Ted,<br>
&gt;&gt; I&#39;ll give that a go, hopefully that works.<br>
&gt;&gt; I actually tried VS2010 first - but hit a different problem altogether. I&#39;ll<br>
&gt;&gt; give it another go...<br>
&gt;&gt; Downloading clean from the SVN, release/2.7.0, opening the /v10/ version,<br>
&gt;&gt; then building cbcExamplesSample2:<br>
&gt;&gt;<br>
&gt;&gt; 3&gt;------ Build started: Project: cbcExamplesSample2, Configuration: Debug<br>
&gt;&gt; Win32 ------<br>
&gt;&gt; 3&gt;  CbcLinked.cpp<br>
&gt;&gt; 3&gt;c:\coin\cbc\cbc\src\CbcLinked.hpp(29): error C2504: &#39;CbcOsiSolver&#39; : base<br>
&gt;&gt; class undefined<br>
&gt;&gt;<br>
&gt;&gt; Which I fixed by adding CBC_BUILD to the preprocessor directives.<br>
&gt;&gt; But then it seems to almost get to the end, before saying:<br>
&gt;&gt;<br>
&gt;&gt; 7&gt;  Generating Code...<br>
&gt;&gt; 7&gt;LINK : fatal error LNK1181: cannot open input file &#39;libCoinUtils.lib&#39;<br>
&gt;&gt;<br>
&gt;&gt; Which I fixed by making &quot;MSVisualStudio\v10\Win32\Debug&quot; an additional<br>
&gt;&gt; library directory. It then runs fine.<br>
&gt;&gt; Trying to build the cbc project:<br>
&gt;&gt;<br>
&gt;&gt; 4&gt;------ Build started: Project: cbc, Configuration: Debug Win32 ------<br>
&gt;&gt; 4&gt;  CoinSolve.cpp<br>
&gt;&gt; 4&gt;LINK : fatal error LNK1181: cannot open input file &#39;libCgl.lib&#39;<br>
&gt;&gt;<br>
&gt;&gt; Which I again fixed by adding that directory. It then builds.<br>
&gt;&gt; I did some more digging around in the options, and I think the issue is<br>
&gt;&gt; this:<br>
&gt;&gt; Some projects output to $(SolutionDir)$(Platform)\$(Configuration)\<br>
&gt;&gt; Other projects output to $(SolutionDir)$(Configuration)\<br>
&gt;&gt; If I standardise to the $(Platform)\ version, it all works fine (for cbc,<br>
&gt;&gt; still need to add CBC_BUILD to get cbcExamplesSample2 working).<br>
&gt;&gt; Are you able to use TortoiseSVN-generated patches? Or do you just want to<br>
&gt;&gt; fix it yourself?<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Iain<br>
&gt;&gt;<br>
&gt;&gt; On 21 July 2011 16:41, Ted Ralphs &lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Iain,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The 2008 project files are surely out of date---I just spent several<br>
&gt;&gt;&gt; days working out the bugs in the new 2010 files and those should work<br>
&gt;&gt;&gt; fine. If possible, I would suggest you just download MSVC++ Express<br>
&gt;&gt;&gt; 2010 and use that, as I&#39;m not too keen on more wrestling with MSVC++<br>
&gt;&gt;&gt; anytime soon :). If you can&#39;t do that, I can tell you that most of the<br>
&gt;&gt;&gt; errors you are seeing will be corrected if you add<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; XXX_BUILD<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; to the list of preprocessor symbols defined, where &quot;XXX&quot; is the<br>
&gt;&gt;&gt; project acronym (in all caps). This is necessary under the new system<br>
&gt;&gt;&gt; we have adopted for configuration header files, which is used in the<br>
&gt;&gt;&gt; latest releases of COIN projects. Even for the projects that are not<br>
&gt;&gt;&gt; currently broken, you should add that symbol, as they may otherwise<br>
&gt;&gt;&gt; break in future releases. That should fix most things. If there are<br>
&gt;&gt;&gt; still errors, post another message. Also, if you want to contribute<br>
&gt;&gt;&gt; the repaired files, that would be great.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cheers,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ted<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Jul 20, 2011 at 11:59 PM, Iain Dunning &lt;<a href="mailto:iaindunning@gmail.com">iaindunning@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt; &gt; I&#39;m having a lot of trouble trying to build CBC with Visual Studio 2008.<br>
&gt;&gt;&gt; &gt; This happens in 2.7 stable, 2.7.0 release, and trunk.<br>
&gt;&gt;&gt; &gt; What I want to do is build &quot;cbc.exe&quot;, but at the moment I&#39;m just trying<br>
&gt;&gt;&gt; &gt; to<br>
&gt;&gt;&gt; &gt; build the default project, cbcExamplesSample2<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; The errors I hit are many and varied...<br>
&gt;&gt;&gt; &gt; I suspect some are pre-processor related, others seem more problematic.<br>
&gt;&gt;&gt; &gt; 1. Project libOsi - all fine<br>
&gt;&gt;&gt; &gt; 2. Project libClp<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\clp\src\clphelperfunctions.hpp(16) : fatal error C1189:<br>
&gt;&gt;&gt; &gt; #error :<br>
&gt;&gt;&gt; &gt;  &quot;don&#39;t have header file for math&quot;<br>
&gt;&gt;&gt; &gt; Happens a few times.<br>
&gt;&gt;&gt; &gt; 3. Project libCoinUtils<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\clp\src\clphelperfunctions.hpp(16) : fatal error C1189:<br>
&gt;&gt;&gt; &gt; #error :<br>
&gt;&gt;&gt; &gt;  &quot;don&#39;t have header file for math&quot;<br>
&gt;&gt;&gt; &gt; 4. Project libOsiClp - all fine<br>
&gt;&gt;&gt; &gt; 5. Project libCbcSolver<br>
&gt;&gt;&gt; &gt; ..\..\..\src\unitTestClp.cpp(584) : error C2039: &#39;fastNodeDepth&#39; : is<br>
&gt;&gt;&gt; &gt; not a<br>
&gt;&gt;&gt; &gt; member of &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt;         c:\coin\cbc\cbc\src\CbcModel.hpp(99) : see declaration of<br>
&gt;&gt;&gt; &gt; &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt; ..\..\..\src\unitTestClp.cpp(585) : error C2039: &#39;setFastNodeDepth&#39; : is<br>
&gt;&gt;&gt; &gt; not<br>
&gt;&gt;&gt; &gt; a member of &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt;         c:\coin\cbc\cbc\src\CbcModel.hpp(99) : see declaration of<br>
&gt;&gt;&gt; &gt; &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\cbc\src\CbcLinked.hpp(29) : error C2504: &#39;CbcOsiSolver&#39; :<br>
&gt;&gt;&gt; &gt; base<br>
&gt;&gt;&gt; &gt; class undefined<br>
&gt;&gt;&gt; &gt; Then a lot of errors follow on from this.<br>
&gt;&gt;&gt; &gt; 7. Project libCgl<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\cbc\src\cbcheuristic.cpp(539) : error C2039:<br>
&gt;&gt;&gt; &gt; &#39;continuousPriority&#39; : is not a member of &#39;CbcModel<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\cbc\src\cbcheuristic.cpp(906) : error C2039:<br>
&gt;&gt;&gt; &gt; &#39;setFastNodeDepth&#39;<br>
&gt;&gt;&gt; &gt; : is not a member of &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\cbc\src\cbcheuristic.cpp(1163) : error C2039:<br>
&gt;&gt;&gt; &gt; &#39;setFastNodeDepth&#39;<br>
&gt;&gt;&gt; &gt; : is not a member of &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt; c:\coin\cbc\cbc\src\cbcheuristic.cpp(1164) : error C2039:<br>
&gt;&gt;&gt; &gt; &#39;fastNodeDepth&#39; :<br>
&gt;&gt;&gt; &gt; is not a member of &#39;CbcModel&#39;<br>
&gt;&gt;&gt; &gt; There seems to be issues in the &quot;test&quot; projects, but I don&#39;t need those.<br>
&gt;&gt;&gt; &gt; Any idea about how I fix these issues?<br>
&gt;&gt;&gt; &gt; Cheers,<br>
&gt;&gt;&gt; &gt; Iain<br>
&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt; &gt; Cbc mailing list<br>
&gt;&gt;&gt; &gt; <a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
&gt;&gt;&gt; &gt; <a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Dr. Ted Ralphs<br>
&gt;&gt;&gt; Associate Professor, Lehigh University<br>
&gt;&gt;&gt; (610) 628-1280<br>
&gt;&gt;&gt; ted &#39;at&#39; lehigh &#39;dot&#39; edu<br>
&gt;&gt;&gt; <a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Iain Dunning<br>
&gt;&gt; Email:    <a href="mailto:iaindunning@gmail.com">iaindunning@gmail.com</a><br>
&gt;&gt; Web:      <a href="http://www.iaindunning.com" target="_blank">www.iaindunning.com</a><br>
&gt;&gt; LinkedIn: <a href="http://nz.linkedin.com/in/iaindunning" target="_blank">nz.linkedin.com/in/iaindunning</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Ted Ralphs<br>
&gt; Associate Professor, Lehigh University<br>
&gt; (610) 628-1280<br>
&gt; ted &#39;at&#39; lehigh &#39;dot&#39; edu<br>
&gt; <a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">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></div></blockquote></div><br><br clear="all"><br>-- <br><font face="&#39;courier new&#39;, monospace">Iain Dunning</font><br><font face="&#39;courier new&#39;, monospace">Email:    <a href="mailto:iaindunning@gmail.com" target="_blank">iaindunning@gmail.com</a><br>
Web:      <a href="http://www.iaindunning.com/" target="_blank">www.iaindunning.com</a><br></font><div><font face="&#39;courier new&#39;, monospace">LinkedIn: <span style="font-size:13px;line-height:15px;background-color:rgb(255, 255, 255)"><a href="http://nz.linkedin.com/in/iaindunning" target="_blank">nz.linkedin.com/in/iaindunning</a></span></font></div>
<br>
</div>