But it should never get to line 115 of that file when building ITK. That should happen only if you are building VTK.<br><br>What happens if you manually uncomment the first few lines in Utilities/MetaIO/CMakeLists.txt to something like this :<br>
<br>#IF(VTK_VERSION)<br>#  SET(METAIO_FOR_VTK 1)<br>#  MARK_AS_ADVANCED( METAIO_FOR_VTK )<br>#  SET(METAIO_NAMESPACE &quot;vtkmetaio&quot;)<br>#ELSE(VTK_VERSION)<br>  SET(METAIO_FOR_VTK 0)<br>
  SET(METAIO_FOR_ITK 1)<br>  MARK_AS_ADVANCED( METAIO_FOR_ITK )<br>  SET(METAIO_NAMESPACE &quot;ITKMetaIO&quot;)<br><br>  IF(ITK_USE_LIBXML2)<br>    ADD_DEFINITIONS(-DMETAIO_USE_LIBXML2)<br>    INCLUDE_DIRECTORIES(${ITK_LIBXML2_INCLUDE_DIR})<br>
  ENDIF(ITK_USE_LIBXML2)<br> 
<br>#ENDIF(VTK_VERSION)<br>....<br>....<br><br>Somehow its getting the definition of VTK_VERSION, perhaps from GDCM, which probably was built with GDCM_USE_VTK ??<br><br>Thanks<br>--<br>karthik<br><br><div class="gmail_quote">
On Thu, Jun 24, 2010 at 1:49 AM, Dean Inglis <span dir="ltr">&lt;<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>&gt;</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;">
Im building cvs ITK against static release builds of svn gdcm and git VTK<br>
with CMake 2.8.1 on Win32 Vista with VS 2005 Express nmake.  Im getting<br>
the following cmake configuration errors involving MetaIO:<br>
<br>
D:\Developer\Releases\VS\STATIC\itkStatic&gt;cmake d:/Developer/Sources/Insight -G&quot;<br>
NMake Makefiles&quot;<br>
CMake Error at Utilities/MetaIO/CMakeLists.txt:115 (INSTALL):<br>
 install TARGETS given no ARCHIVE DESTINATION for static library target<br>
 &quot;vtkmetaio&quot;.<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
Is there a work around for this or am I missing something??<br>
<br>
regards,<br>
Dean<br>
<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>
</blockquote></div><br>