<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">&nbsp;Hi, friends<br><br>I am compiling an exist Itk program. When I make the files, I find that the Itk head files can not be find by the program. I think there must be some error in CMakelists.txt file. Can anyone give me some help, Thanks.<br><br>The errors are like:&nbsp; CSoucecodeTest/itktypes.h:5:30: error: itkOrientedImage.h: No such file or directory<br>in the itktypes.h files I have included itk headers such as : #include "itkOrientedImage.h"<br><br>And my CMakelists.txt file are as follow:<br><br>cmake_minimum_required(VERSION 2.8)<br>IF(COMMAND CMAKE_POLICY)<br>&nbsp; CMAKE_POLICY(SET CMP0003 NEW)<br>ENDIF(COMMAND CMAKE_POLICY)<br>PROJECT(peeve)<br><br># Find ITK.<br>FIND_PACKAGE(ITK REQUIRED)<br>INCLUDE(${ITK_USE_FILE})<br><br>ADD_EXECUTABLE(peeve peeve.cxx ext_functions.cxx)<br>ADD_EXECUTABLE(peeve_rg peeve_rg.cxx ext_functions.cxx)<br>ADD_EXECUTABLE(petpeeve_log petpeeve_log.cxx ext_functions.cxx)<br>SET(CMAKE_CXX_FLAGS "-g")<br><br>TARGET_LINK_LIBRARIES(petpeeve ITKCommon ITKIO ITKAlgorithms)<br>TARGET_LINK_LIBRARIES(petpeeve_rg ITKCommon ITKIO ITKAlgorithms)<br>TARGET_LINK_LIBRARIES(petpeeve_log ITKCommon ITKIO ITKAlgorithms)<br><br><br>flydps<br><br></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>