<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>Dear Luis and All:</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to buid IBSRClassification in the ITK application&nbsp;for gaussian mixture models classification. But I got a lot of buid errors.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have one folder called&nbsp; EM_MRF, inside this folder I copy the IBSRClassification folder and create build folder. I modified camkelist file (See the end of the letter)&nbsp;to find ITK, if I did not change the cmakelist file, I got more errors</DIV>
<DIV>&nbsp;</DIV>
<DIV>Then in the build folder, I typed:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;ccmake ../IBSRClassification.</DIV>
<DIV>&nbsp;</DIV>
<DIV>and give the ITK directore, tyep C and G, and quitc cmake. Then typed make to build the&nbsp;code, &nbsp;I got a lot of errors. It seems that&nbsp;it can not find&nbsp;most of the header. &nbsp;I only copy some of them to here. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Can sombody help me to figure this problem?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Baoyun</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>***********************error messages</DIV>
<DIV>&nbsp;</DIV>
<DIV>In file included from /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/ClassifierValidationInputParser.h:228,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/GaussianClassifierValidationApp.h:22,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:20:<BR>/home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/ClassifierValidationInputParser.txx:21:34: error: RawSliceVolumeReader.h: No such file or directory<BR>/home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/ClassifierValidationInputParser.txx:22:29: error: RawVolumeReader.h: No such file or directory<BR>In file included from
 /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/GaussianClassifierValidationApp.h:24,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/GaussianClassifierValidationApp.cxx:20:<BR>/home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/ClassifierValidationOutput.h:22:29: error: RawVolumeWriter.h: No such file or directory<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>******************Below is the cmakelist file I modified to find ITK, if I did not change the cmakelist file, I got more errors</DIV>
<DIV>&nbsp;</DIV>
<DIV>cmake_minimum_required(VERSION 2.4)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; FIND_PACKAGE(ITK)<BR>&nbsp; IF(ITK_FOUND)<BR>&nbsp;&nbsp;&nbsp; INCLUDE(${ITK_USE_FILE})<BR>&nbsp; ELSE(ITK_FOUND)<BR>&nbsp;&nbsp;&nbsp; MESSAGE(FATAL_ERROR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Cannot build InsightApplications without ITK.&nbsp; Please set ITK_DIR.")<BR>&nbsp; ENDIF(ITK_FOUND)</DIV>
<DIV>&nbsp;</DIV>
<DIV>INCLUDE_DIRECTORIES(<BR>${IBSRClassification_SOURCE_DIR}/../Common<BR>${IBSRClassification_SOURCE_DIR}<BR>)</DIV>
<DIV>ADD_EXECUTABLE(GaussianIBSRClassificationApp Code/GaussianClassifierValidationApp.cxx)<BR>INSTALL_TARGETS(/bin GaussianIBSRClassificationApp)<BR>TARGET_LINK_LIBRARIES (GaussianIBSRClassificationApp<BR>ITKBasicFilters<BR>ITKIO<BR>)</DIV>
<DIV><BR>ADD_EXECUTABLE(KmeansIBSRClassificationApp Code/KmeansClassifierValidationApp.cxx)<BR>INSTALL_TARGETS(/bin KmeansIBSRClassificationApp)<BR>TARGET_LINK_LIBRARIES (KmeansIBSRClassificationApp<BR>ITKBasicFilters<BR>ITKIO<BR>)</DIV>
<DIV><BR>ADD_EXECUTABLE(MRFGaussianIBSRClassificationApp Code/MRFGaussianClassifierValidationApp.cxx)<BR>INSTALL_TARGETS(/bin MRFGaussianIBSRClassificationApp)<BR>TARGET_LINK_LIBRARIES (MRFGaussianIBSRClassificationApp<BR>ITKBasicFilters<BR>ITKIO<BR>)</DIV>
<DIV><BR>ADD_EXECUTABLE(MRFKmeansIBSRClassificationApp Code/MRFKmeansClassifierValidationApp.cxx)<BR>INSTALL_TARGETS(/bin MRFKmeansIBSRClassificationApp)<BR>TARGET_LINK_LIBRARIES (MRFKmeansIBSRClassificationApp<BR>ITKBasicFilters<BR>ITKIO<BR>)<BR></DIV></div><br>

      </body></html>