<div dir="ltr">Sorry to waste your time but the problem was genuine and I am not sure why it fixed itself with another delete and full rebuild. The fact it appeared on both platforms really threw me.<div><br></div><div><br>
</div><div>Regards</div><div> Andrew</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 1:40 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<br>
<br>
Thanks for doing a re-check. Good to hear that it is building now.<br>
<span class="HOEnZb"><font color="#888888"><br>
- David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Jul 31, 2013 at 9:35 PM, Andrew Maclean<br>
<<a href="mailto:andrew.amaclean@gmail.com">andrew.amaclean@gmail.com</a>> wrote:<br>
> I am not sure what happened, but now I am getting clean builds on both the<br>
> Mac and Ubuntu. I deleted the folders (which I had previously done) and ran<br>
> CMake again and then resultant builds were Ok.<br>
> Before doing this I checked for CHECK_CXX_EXPRESSION_COMPILES in<br>
> CMakeFiles/CMakeError.log. There was no entry even though the build was<br>
> failing at that stage. So I am not sure what was going on.<br>
><br>
> I am using CMake 2.8.11.2 on all machines.<br>
><br>
> Regards<br>
> Andrew<br>
><br>
><br>
><br>
> On Wed, Jul 31, 2013 at 11:15 PM, Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> wrote:<br>
>><br>
>> 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>><br>
>> > 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>
>> 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>
>><br>
>> -Brad<br>
><br>
><br>
><br>
><br>
> --<br>
> ___________________________________________<br>
> Andrew J. P. Maclean<br>
><br>
> ___________________________________________<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div>