<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div id="yiv710729861"><div><div style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt;"><div id="yiv710729861yui_3_2_0_14_132378853550440">Hi,<span><br></span></div><div id="yiv710729861yui_3_2_0_14_132378853550450"><br id="yiv710729861yui_3_2_0_14_1323788535504176"></div><div id="yiv710729861yui_3_2_0_14_132378853550451">I'm trying to use ITK v4. I have been able to install it successfully (note that the option ITK_USE_SYSTEM_GDCM doesn't work, it produce a link error to gdcmMSFF).</div><div id="yiv710729861yui_3_2_0_14_1323788535504281">Anyway, I built it with the internal version of GDCM.<br></div><div id="yiv710729861yui_3_2_0_14_1323788535504144"><br></div><div id="yiv710729861yui_3_2_0_14_1323788535504145">Unfortunately, when I try a reader class
 such as itkImageFileReader, I got an error regarding the IO factory classes :</div><div id="yiv710729861yui_3_2_0_14_1323788535504179">" Could not create IO object for file "C:/test.png"</div><div id="yiv710729861yui_3_2_0_14_1323788535504184">&nbsp; Tried to create one of the
 following:<br>&nbsp; You probably failed to set a file suffix, or set the suffix to an unsupported type."</div><div id="yiv710729861yui_3_2_0_14_1323788535504195"><br></div><div id="yiv710729861yui_3_2_0_14_1323788535504196">As you can see, the list of IO object is empty. It seems ITK can't find them. I checked in the include dir and several IO files are available such as itkGDCMImageIO<br></div><div id="yiv710729861yui_3_2_0_14_1323788535504209"><br></div><div id="yiv710729861yui_3_2_0_14_1323788535504210">Can someone tell me what's wrong ?</div><div id="yiv710729861yui_3_2_0_14_1323788535504243"><br></div><div id="yiv710729861yui_3_2_0_14_1323788535504244">Regarding the CMakeLists, I created and used two variables <br></div><div id="yiv710729861yui_3_2_0_14_1323788535504374">- a ITK_INCLUDE_DIR (path to the include dir) to find the include files<br></div><div id="yiv710729861yui_3_2_0_14_1323788535504379">- a ITK_LIBRARIES list (list of path to the
 libs). Since the libs are not the same compared to ITKv3, I'm not sure which libraries to include in this list and in which order (if it matters), thus I listed all of them in alphabetical order.<br><br>I have no warning/error at compilation time.<br></div><div id="yiv710729861yui_3_2_0_14_1323788535504414"><br></div><div id="yiv710729861yui_3_2_0_14_1323788535504417">I hope someone will be able to help me.</div><div id="yiv710729861yui_3_2_0_14_1323788535504424">Best</div><div id="yiv710729861yui_3_2_0_14_1323788535504433">James.</div></div></div></div></div></body></html>