<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> </DIV>
<DIV>I am trying to buid IBSRClassification in the ITK application for gaussian mixture models classification. But I got a lot of buid errors.</DIV>
<DIV> </DIV>
<DIV>I have one folder called EM_MRF, inside this folder I copy the IBSRClassification folder and create build folder. I modified camkelist file (See the end of the letter) to find ITK, if I did not change the cmakelist file, I got more errors</DIV>
<DIV> </DIV>
<DIV>Then in the build folder, I typed:</DIV>
<DIV> </DIV>
<DIV> ccmake ../IBSRClassification.</DIV>
<DIV> </DIV>
<DIV>and give the ITK directore, tyep C and G, and quitc cmake. Then typed make to build the code, I got a lot of errors. It seems that it can not find most of the header. I only copy some of them to here. </DIV>
<DIV> </DIV>
<DIV>Can sombody help me to figure this problem?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Baoyun</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>***********************error messages</DIV>
<DIV> </DIV>
<DIV>In file included from /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/ClassifierValidationInputParser.h:228,<BR> from /home/gtao/code/vector_segmentation/EM_MRF/IBSRClassification/Code/GaussianClassifierValidationApp.h:22,<BR> 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> 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> </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> </DIV>
<DIV>cmake_minimum_required(VERSION 2.4)</DIV>
<DIV> </DIV>
<DIV> FIND_PACKAGE(ITK)<BR> IF(ITK_FOUND)<BR> INCLUDE(${ITK_USE_FILE})<BR> ELSE(ITK_FOUND)<BR> MESSAGE(FATAL_ERROR<BR> "Cannot build InsightApplications without ITK. Please set ITK_DIR.")<BR> ENDIF(ITK_FOUND)</DIV>
<DIV> </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>