<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>Yes.</span></div><div><br><span></span></div><div><span>I also disabled Examples and Testing.</span></div><div><br></div>  <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">De&nbsp;:</span></b> Bill Lorensen &lt;bill.lorensen@gmail.com&gt;<br> <b><span style="font-weight: bold;">À&nbsp;:</span></b> Malsoaz James &lt;jmalsoaz@yahoo.fr&gt; <br><b><span style="font-weight: bold;">Cc&nbsp;:</span></b> "insight-users@itk.org" &lt;insight-users@itk.org&gt; <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Mardi 13 Décembre 2011 17h49<br> <b><span style="font-weight:
 bold;">Objet&nbsp;:</span></b> Re: [Insight-users] ITK v4 + IO factory classes : runtime error<br> </font> <br>When you build ITK, did you build it with all of the modules:<br>ITK_BUILD_ALL_MODULES ON<br><br><a href="http://www.vtk.org/Wiki/ITK_Release_4/Modularization/Configure_and_build_ITK" target="_blank">http://www.vtk.org/Wiki/ITK_Release_4/Modularization/Configure_and_build_ITK</a><br><br><br>On Tue, Dec 13, 2011 at 10:42 AM, Malsoaz James &lt;<a ymailto="mailto:jmalsoaz@yahoo.fr" href="mailto:jmalsoaz@yahoo.fr">jmalsoaz@yahoo.fr</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I'm trying to use ITK v4. I have been able to install it successfully (note<br>&gt; that the option ITK_USE_SYSTEM_GDCM doesn't work, it produce a link error to<br>&gt; gdcmMSFF).<br>&gt; Anyway, I built it with the internal version of GDCM.<br>&gt;<br>&gt; Unfortunately, when I try a reader class such as itkImageFileReader, I got<br>&gt; an error regarding the IO factory
 classes :<br>&gt; " Could not create IO object for file "C:/test.png"<br>&gt; &nbsp; Tried to create one of the following:<br>&gt; &nbsp; You probably failed to set a file suffix, or set the suffix to an<br>&gt; unsupported type."<br>&gt;<br>&gt; As you can see, the list of IO object is empty. It seems ITK can't find<br>&gt; them. I checked in the include dir and several IO files are available such<br>&gt; as itkGDCMImageIO<br>&gt;<br>&gt; Can someone tell me what's wrong ?<br>&gt;<br>&gt; Regarding the CMakeLists, I created and used two variables<br>&gt; - a ITK_INCLUDE_DIR (path to the include dir) to find the include files<br>&gt; - a ITK_LIBRARIES list (list of path to the libs). Since the libs are not<br>&gt; the same compared to ITKv3, I'm not sure which libraries to include in this<br>&gt; list and in which order (if it matters), thus I listed all of them in<br>&gt; alphabetical order.<br>&gt;<br>&gt; I have no warning/error at compilation
 time.<br>&gt;<br>&gt; I hope someone will be able to help me.<br>&gt; Best<br>&gt; James.<br>&gt;<br>&gt; _____________________________________<br>&gt; Powered by www.kitware.com<br>&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;<br>&gt; Kitware offers ITK Training Courses, for more information visit:<br>&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>&gt;<br>&gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users"
 target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br><br><br><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br><br> </div> </div>  </div></body></html>