<div dir="ltr">I am not sure what happened, but now I am getting clean builds on both the Mac and Ubuntu. I deleted the folders (which I had previously done) and ran CMake again and then resultant builds were Ok.<div>Before doing this I checked for <span style="font-family:arial,sans-serif;font-size:13px">CHECK_CXX_EXPRESSION_COMPILES in </span><span style="font-family:arial,sans-serif;font-size:13px">CMakeFiles/CMakeError.log. There was no entry even though the build was failing at that stage. So I am not sure what was going on.</span></div>
<div><br></div><div>I am using CMake 2.8.11.2 on all machines.</div><div><br></div><div><font face="arial, sans-serif">Regards</font></div><div><font face="arial, sans-serif"> Andrew</font></div><div><font face="arial, sans-serif"><br>
</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 11:15 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 07/31/2013 09:07 AM, Marcus D. Hanwell wrote:<br>
> On Wed, Jul 31, 2013 at 8:13 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>> The related variable VTK_HAS_ISFINITE is being incorrectly set, but I<br>
>> can fix that as soon as VTK moves to a more recent version of CMake.<br>
>> Right now, VTK uses the following check:<br>
>> check_symbol_exists(isfinite "math.h" VTK_HAS_ISFINITE)<br>
>> This check is not valid, because vtkMath includes "cmath", not<br>
>> "math.h". The check should really be this:<br>
>> check_cxx_symbol_exists(isfinite "cmath" VTK_HAS_ISFINITE)<br>
>> Unfortunately the cmake_cxx_symbol_exists() macro is not available in<br>
>> CMake 2.8.5.<br>
><br>
> Will CMake 2.8.8 bring in the feature you need? I proposed bumping our<br>
> CMake dependency yesterday, it would be good to know if it helps here<br>
> (or what version is required otherwise).<br>
<br>
</div></div>The check_cxx_symbol_exists macro was added in CMake 2.8.6.<br>
<br>
FWIW, Debian stable has CMake 2.8.9 so IMO 2.8.8 is fine<br>
as a minimum required version.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Brad<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div>