<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><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">the error is<br>DicomImageReadWrite.cxx<br>.\DicomImageReadWrite.cxx(8) : fatal error
C1083: Impossible d'ouvrir le fichier include :
'itkImageFileReader.h' : No such file or directory" <br>what does it mean?<br>thanks<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> John Drescher <drescherjm@gmail.com><br><b><span style="font-weight: bold;">À :</span></b> Syrine Sahmim <syrine.sahmim@yahoo.fr>; Insight Users <insight-users@itk.org><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mercredi, 17 Juin 2009, 14h17mn 31s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [Insight-users] (no subject)<br></font><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>this program also gives errors in compilation phase<br>i joined the cmakelists file <br>Can help me to find error<br>thanks<br><br><br>void main()<br>{<br>// Definition of stuctures<br>typedef unsigned char PixelType;<br>
const unsigned int Dimension = 2;<br>typedef itk::Image< PixelType, Dimension > ImageType;<br><br>typedef itk::ImageFileReader< ImageType > ReaderType;<br>typedef itk::ImageFileWriter< ImageType > WriterType;<br>
<br>// Create a object of reader and read the image<br>ReaderType::Pointer reader = ReaderType::New();<br>WriterType::Pointer writer = WriterType::New();<br><br>const char pInputfileName[] = "003F87DA.jpg";<br>const char pOutputfileName[] = "003F87DA.jpg";<br>
<br>reader->SetFileName( pInputfileName
);<br>reader->Update();<br><br>ImageType::Pointer image = reader->GetOutput();<br><br><br>writer->SetFileName( pOutputfileName );<br><br>writer->SetInput( reader->GetOutput() );<br><br>try<br>{<br>writer->Update();<br>
}<br><br>catch( itk::ExceptionObject & err )<br>{<br>std::cout << "ExceptionObject caught !" << std::endl;<br>std::cout << err << std::endl;<br>exit(-1);<br>}<br></div></div><br>
</div></blockquote></div><br>Please post the compile error.<br><br>John<br>
</div></div></div><br>
</body></html>