Hello All,<br>I'm trying to build ITK 1.0 on OSX 10.4.6. Yes, that was ITK 1.0. Our organization has been using the MultiResMIRegistration example integrated in a tool for a while now. I now need to compile this example so that the tool can run on OSX as well as Windows. So any help on this would be greatly appreciated. Here is the issue I'm having:
<br><br>I downloaded ITK v1.0.0 and CMake 1.4.7 (The latest version of CMake had some backwards compatibility issues). I also downloaded the latest version of xcode (2.4.1_8).<br><br>I run `ccmake <source_dir>` and it generates the make file with no errors or problems. I then run 'make' in this directory. It compiles for about 7 minutes and gives me this error:
<br><br>----------------------------------------------------------------------------------------------<br>/Users/jannettdean/Desktop/JC<div style="direction: ltr;">_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vcl/vcl_iosfwd.h:8,
<br> from<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vnl/vnl_vector.h:13,<br> from<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Common/itkArray.h:21,
<br> from<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/itkCacheableScalarFunction.h:20,<br> from<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/itkCacheableScalarFunction.cxx:17:
<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vcl/vcl_compiler.h:60:4:<br>error: #error "Dunno about this gcc"<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vnl/vnl_c_vector.h:28:
<br>warning: keyword 'export' not implemented, and will be ignored<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vnl/vnl_vector.h:19:<br>warning: keyword 'export' not implemented, and will be ignored
<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vnl/vnl_vector.h:20:<br>warning: keyword 'export' not implemented, and will be ignored<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-
1.0.0/Code/Numerics/vxl/vnl/vnl_vector.h:413:<br>warning: keyword 'export' not implemented, and will be ignored<br>/Users/jannettdean/Desktop/JC_Stuff/InsightToolkit-1.0.0/Code/Numerics/vxl/vnl/vnl_vector.h:414:<br>
warning: keyword 'export' not implemented, and will be ignored<br>make[5]: *** [itkCacheableScalarFunction.o] Error 1<br>make[4]: *** [default_target] Error 2<br>make[3]: *** [default_target_Numerics] Error 2<br>make[2]: *** [default_target] Error 2
<br>make[1]: *** [default_target_Code] Error 2<br>make: *** [default_target] Error 2<br>----------------------------------------------------------------------------------------------<br><br>I've done some searching and found only this thread:
<br><a href="http://public.kitware.com/pipermail/insight-users/2002-September/001066.html">http://public.kitware.com/pipermail/insight-users/2002-September/001066.html</a><br><br>I've tried the recommended solution of turning ITK_USE_SYSTEM_STDLIB 'ON' however that is the default for the value.
<br><br>I know that ITK v1.0.0 is very outdated however the tool that has been using the MultiResMIRegistration example has had great success with this registration method over the years, and there is no reason to upgrade it. I would really like to get this running on OSX, so any build advice would be greatly appreciated. Also, if anyone has a compiled binary of this example for OSX that would work as well.
<br><br>Thanks again for any help<br><br>-Blair Cruz<br><br><br><br><br></div><br>