<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hey all, <br><br>I managed to solve the configuration problem. However, I got this error now while running "make":<br><br>Scanning dependencies of target ITKIO<br>[ 90%] Building CXX object itk/InsightToolkit-3.16.0/Code/IO/CMakeFiles/ITKIO.dir/itkNiftiImageIO.o<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx: In member function ‘virtual void itk::NiftiImageIO::Read(void*)’:<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:496: error: ‘nifti_read_subregion_image’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx: In member function ‘virtual void
 itk::NiftiImageIO::ReadImageInformation()’:<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:864: error: ‘NIFTI_TYPE_RGBA32’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:948: error: ‘NIFTI_INTENT_TIME_SERIES’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:950: error: ‘NIFTI_INTENT_NODE_INDEX’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:952: error: ‘NIFTI_INTENT_RGB_VECTOR’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:954: error: ‘NIFTI_INTENT_RGBA_VECTOR’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:956: error:
 ‘NIFTI_INTENT_SHAPE’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx: In member function ‘virtual void itk::NiftiImageIO::WriteImageInformation()’:<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1408: error: ‘NIFTI_TYPE_RGBA32’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx: In member function ‘void itk::NiftiImageIO::SetImageIOOrientationFromNIfTI(short unsigned int)’:<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1488: error: ‘struct nifti_image’ has no member named ‘analyze75_orient’<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1490: error: ‘a75_transverse_unflipped’ was not declared in this
 scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1493: error: ‘a75_sagittal_unflipped’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1498: error: ‘a75_transverse_flipped’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1499: error: ‘a75_coronal_flipped’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1500: error: ‘a75_sagittal_flipped’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1501: error: ‘a75_orient_unknown’ was not declared in this scope<br>/vol/vipdata/users/as5909/irtk/itk/InsightToolkit-3.16.0/Code/IO/itkNiftiImageIO.cxx:1502: error: ‘a75_coronal_unflipped’ was not declared in this
 scope<br>make[2]: *** [itk/InsightToolkit-3.16.0/Code/IO/CMakeFiles/ITKIO.dir/itkNiftiImageIO.o] Error 1<br>make[1]: *** [itk/InsightToolkit-3.16.0/Code/IO/CMakeFiles/ITKIO.dir/all] Error 2<br>make: *** [all] Error 2<br><br>Does anyone know how to deal with that error?<br><br>Thank you,<br><br>J.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> John Smith &lt;af3113@yahoo.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> insight-users@itk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, November 19, 2009 12:11:36 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Insight-users] Itk error under linux<br></font><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>I have a problem configuring itk (3.1.6) with cmake (2.8) under linux (ubuntu 9.3). I get this error:<br>------------------------------------------------------------------------------------------------<br>CMake Error at Insight/CMakeLists.txt:840 (MESSAGE):<br>&nbsp;&nbsp; -ffloat-store causes runtime bugs on gcc 3.2.3 (appearently not on gcc<br>&nbsp;&nbsp; 3.4.3, but the exact criteria is not known).&nbsp; It must be removed from your<br>&nbsp;&nbsp; compilation options.<br>------------------------------------------------------------------------------------------------<br><br>It seems like I have to change the compilation options however I don't know how as I am new to Linux. Could someone help me to solve this issue?<br><br>One other thing, can you also send me an example of a
 cmake file to include itk to my project? This is what I have for now:<br>----------------------------------------------------------------------------<br>FIND_PACKAGE(ITK REQUIRED)<br>INCLUDE_DIRECTORIES( ${ITK_INCLUDE_DIRS})<br>TARGET_LINK_LIBRARIES(${ITK_LIBRARIES})<br>----------------------------------------------------------------------------<br><br>Thank you in advance.<br><br>Best regards,<br><br>J.<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>

</div><br>

      </div></div>
<!-- cg2.c99.mail.mud.yahoo.com compressed/chunked Thu Nov 19 03:49:01 PST 2009 -->
</div><br>



      </body></html>