What is your CMakeLists.txt file?<br><br><div class="gmail_quote">On Fri, Sep 28, 2012 at 2:10 PM, Tanweer Rashid <span dir="ltr"><<a href="mailto:trash001@odu.edu" target="_blank">trash001@odu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I am trying to read an image with ITK and display it with VTK using ITKVtkGlue. The program compiles and builds without any errors, but when it executes, it gives the following message: <br clear="all">
<div><div><br></div><div>ERROR: In D:\ProgramFiles\VTK-5.10-src\Imaging\vtkImageImport.cxx, line 337</div><div>vtkImageImport (0050B648): Calling UpdateInformationCallback: d:\programfiles\itk\include\itk-4.2\itkimagefilereader.hxx:143:</div>
<div> Could not create IO object for file D:\AAA.png</div><div> Tried to create one of the following:</div><div> You probably failed to set a file suffix, or</div><div> set the suffix to an unsupported type.</div><div>
<br></div><div>I am compiling on VS2010 on Windows 7 (64 bit). My VTK and ITK libraries and my program are all compiled in 32 bit. </div><div><br></div></div><div>Thanks,</div><span class="HOEnZb"><font color="#888888">-- <br>
Tanweer Rashid<br>MSVE Dept.<br><div>Old Dominion University</div>
<br>
</font></span></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>