[Insight-users] RE: Installing ITK on Mac OS X

Luis Ibanez luis.ibanez at kitware.com
Sun Aug 5 11:51:40 EDT 2007


Hi DZ,


         That's why we make releases   :-)


    ...because we fix bugs in between them...


You are facing a bug that ITK 2.6 had for building in
the Mac and that was fixed by the time we released ITK 3.2.


You may find interesting to look at the CVS logs of vnl_math.cxx:
http://www.itk.org/cgi-bin/viewcvs.cgi/Utilities/vxl/core/vnl/vnl_math.cxx?rev=1.18&root=Insight&view=log

In particular to the following CVS commits:
http://www.itk.org/cgi-bin/viewcvs.cgi/Utilities/vxl/core/vnl/vnl_math.cxx?root=Insight&r1=1.12&r2=1.13
http://www.itk.org/cgi-bin/viewcvs.cgi/Utilities/vxl/core/vnl/vnl_math.cxx?root=Insight&r1=1.13&r2=1.14


These two changes are from August 2006.


ITK 2.6 was released on March 2006.


   Regards,


      Luis


------------------
DZ wrote:
> I removed fink, and simply downloaded the latest
> version of cmake from www.cmake.org. I then downloaded
> itk-3.2.0.tar.gz and itk-2.6.0.tar.gz.  I set the
> following in ccmake:
> 
> BUILD_SHARED_LIBS      OFF
> BUILD _EXAMPLES         OFF
> BUILD_TESTING             OFF
> 
> itk-3.2.0 compiled with those settings, however
> compliling itk-2.6.0 gave the following errors:
> 
> [ 56%] Building CXX object
> Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_math.o
> /Users/williamgreene/src/itk-2.6.0/Utilities/vxl/core/vnl/vnl_math.cxx:
> In function 'bool vnl_math_isinf(float)':
> /Users/williamgreene/src/itk-2.6.0/Utilities/vxl/core/vnl/vnl_math.cxx:221:
> error: '__isnand' was not declared in this scope
> /Users/williamgreene/src/itk-2.6.0/Utilities/vxl/core/vnl/vnl_math.cxx:
> In function 'bool vnl_math_isinf(double)':
> /Users/williamgreene/src/itk-2.6.0/Utilities/vxl/core/vnl/vnl_math.cxx:223:
> error: '__isnand' was not declared in this scope
> /Users/williamgreene/src/itk-2.6.0/Utilities/vxl/core/vnl/vnl_math.cxx:
> In function 'bool vnl_math_isinf(long double)':
> /Users/williamgreene/src/itk-2.6.0/Utilities/vxl/core/vnl/vnl_math.cxx:225:
> error: '__isnand' was not declared in this scope
> make[2]: ***
> [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_math.o]
> Error 1
> make[1]: *** [Utilities/vxl/core/vnl/CMake
> Files/itkvnl.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> 
> I initially downloaded itk-3.2.0.zip and set all the
> settings above to ON and I got a compilation error,
> but since I don't need any of the above settings on, I
> guess it is not that important. Anyways, I
> redownloaded itk-3.2.0.tar.gz because I read several
> things saying that .tar.gz was a better format to
> download. Why is .tar.gz better? I then set the
> settings above to off and compiled and 3.2.0 worked,
> but earlier itk releases did not as discussed above.
> Why will earlier releases (2.6.0) not compile?
> Although I will not use a earlier release of itk, I am
> still interested in understanding why I got the above
> errors. Also, older versions of cmake would not
> compile itk-3.2.0, why is this?
> 
> Thanks so much for the help.
> 
> 
>        
> ____________________________________________________________________________________
> Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
> http://answers.yahoo.com/dir/?link=list&sid=396545433
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list