Known issue.. See this <br><br> <a href="http://www.itk.org/pipermail/insight-users/2010-June/037360.html">http://www.itk.org/pipermail/insight-users/2010-June/037360.html</a><br><br>and <br> <br> <a href="http://www.itk.org/pipermail/insight-users/2010-July/037404.html">http://www.itk.org/pipermail/insight-users/2010-July/037404.html</a><br>
<br>I think the consensus is to downgrade to CMake 2.6 from Cmake 2.8<br><br><br><div class="gmail_quote">On Sat, Jul 17, 2010 at 3:25 PM, Roger Bramon Feixas <span dir="ltr"><<a href="mailto:rogerbramon@gmail.com">rogerbramon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div><br></div><div>I have the same problem reported in this thread: <a href="http://www.itk.org/pipermail/insight-users/2010-March/035903.html" target="_blank">http://www.itk.org/pipermail/insight-users/2010-March/035903.html</a>, but any solution was published. I would like to continue the discussion.</div>
<div><br></div><div>I'm trying to compile ITK 3.18 with GDCM 2.0.15. I compiled correctly GDCM 2.0.15 with VTK 5.6 but when I set to 1 the ITK_USE_SYSTEM_GDCM option this CMake message error appears:</div><div><br></div>
<div><div>CMake Error at Utilities/MetaIO/CMakeLists.txt:104 (INSTALL):</div><div> install TARGETS given no LIBRARY DESTINATION for shared library target</div><div> "vtkmetaio".</div></div><div><br></div><div>
<br></div><div>In the mentioned thread, Brad King proposed a test:</div><div><br></div><div>"</div><div><div>Edit ITK/Utilities/MetaIO/CMakeLists.txt to add some message()-s</div><div>in this top block:</div><div><br>
</div><div>IF(VTK_VERSION)</div><div> SET(METAIO_FOR_VTK 1)</div><div> MARK_AS_ADVANCED( METAIO_FOR_VTK )</div><div> SET(METAIO_NAMESPACE "vtkmetaio")</div><div> MESSAGE(FATAL_ERRORO "ITK IS NOT VTK!") # ADD THIS LINE</div>
<div>ELSE(VTK_VERSION)</div><div>...</div><div>ENDIF(VTK_VERSION)</div><div><br></div><div>Does CMake hit this? Are you pointing ITK at a VTK? "</div></div><div><br></div><div>I tested it, and yes, CMake hits this.</div>
<div><br></div><div>Anyone have any suggestion?</div><div><br></div><div>Thanks,</div><div><br></div><font color="#888888"><div>Roger</div>
</font><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.html" target="_blank">http://www.kitware.com/products/protraining.html</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>