Hm, try seeing the documentation in VS about &quot;Checked Iterators&quot;? But usually you need to define SCL_SECURE_NO_WARNINGS before any include files:<div><br></div>#define SCL_SECURE_NO_WARNINGS<br>#include &quot;itkBinaryThresholdImageFilter.h&quot;<br>

etc.<br><div><br></div><div>Regards,</div><div>Dženan<br><br><div class="gmail_quote">On Sat, Sep 4, 2010 at 02:15, Emma Ryan <span dir="ltr">&lt;<a href="mailto:eryanvtk@yahoo.com">eryanvtk@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello all,<br><br>  How can I get rid if this warning ?   I dont want to disable it as it might be related to a crash that I get.<br>

<br>&gt;\insighttoolkit-3.20.0\code\io\itkimagefilereader.txx(439) : warning C4996: &#39;std::copy&#39;: Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ &#39;Checked Iterators&#39;<br>

1&gt;        c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2550) : see declaration of &#39;std::copy&#39;<br>1&gt;        \itk\insighttoolkit-3.20.0\code\io\itkimagefilereader.txx(361) : while compiling class template
 member function &#39;void itk::ImageFileReader&lt;TOutputImage&gt;::GenerateData(void)&#39;<br>1&gt;        with<br>1&gt;        [<br>1&gt;            TOutputImage=InputImageType<br>1&gt;        ]<br>1&gt;        \main.cpp(33) : see reference to class template instantiation &#39;itk::ImageFileReader&lt;TOutputImage&gt;&#39; being compiled<br>

1&gt;        with<br>1&gt;        [<br>1&gt;            TOutputImage=InputImageType<br>1&gt;        ]<br><br>Emma<br><br><br>The program is as follows<br><br>#include &quot;itkBinaryThresholdImageFilter.h&quot;<br><br>#include &quot;itkImage.h&quot;<br>

#include &quot;itkImageFileReader.h&quot;<br>#include
 &quot;itkImageFileWriter.h&quot;<br><br>int main( int argc, char * argv[] )<br>{<br>  if( argc &lt; 7 )<br>    {<br>    std::cerr &lt;&lt; &quot;Usage: &quot; &lt;&lt; argv[0];<br>    std::cerr &lt;&lt; &quot; inputImageFile outputImageFile &quot;;  <br>

    std::cerr &lt;&lt; &quot; lowerThreshold upperThreshold &quot;;  <br>    std::cerr &lt;&lt; &quot; outsideValue insideValue   &quot;  &lt;&lt; std::endl;  <br>    return EXIT_FAILURE;<br>    }<br>  <br> <br>  typedef  unsigned char  InputPixelType;<br>

  typedef  unsigned char  OutputPixelType;<br>  <br>  typedef itk::Image&lt; InputPixelType,  2 &gt;   InputImageType;<br>  typedef itk::Image&lt; OutputPixelType, 2 &gt;   OutputImageType;<br> <br>  typedef
 itk::BinaryThresholdImageFilter&lt;<br>               InputImageType, OutputImageType &gt;  FilterType;<br> <br>  typedef itk::ImageFileReader&lt; InputImageType &gt;  ReaderType;<br>  <br>  typedef itk::ImageFileWriter&lt; OutputImageType &gt;  WriterType;<br>

  <br>  ReaderType::Pointer reader = ReaderType::New();<br>  FilterType::Pointer filter = FilterType::New();<br><br>  WriterType::Pointer writer = WriterType::New();<br>  reader-&gt;SetFileName( argv[1] );<br> <br>  filter-&gt;SetInput( reader-&gt;GetOutput() );<br>

<br>  const OutputPixelType outsideValue = atoi( argv[5] );<br>  const OutputPixelType insideValue  = atoi( argv[6] );<br><br>  filter-&gt;SetOutsideValue( outsideValue );<br>  filter-&gt;SetInsideValue(  insideValue  );<br>

 <br><br>  const InputPixelType
 lowerThreshold = atoi( argv[3] );<br>  const InputPixelType upperThreshold = atoi( argv[4] );<br><br>  filter-&gt;SetLowerThreshold( lowerThreshold );<br>  filter-&gt;SetUpperThreshold( upperThreshold );<br> <br>  filter-&gt;Update();<br>

  writer-&gt;SetFileName( argv[2] );<br>  writer-&gt;SetInput( filter-&gt;GetOutput() );<br>  writer-&gt;Update();<br><br>  return EXIT_SUCCESS;<br>}<br><br><br></div><div style="font-family:times new roman,new york,times,serif;font-size:12pt">

<br><div style="font-family:arial,helvetica,sans-serif;font-size:13px"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight:bold">From:</span></b> &quot;<a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a>&quot; &lt;<a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a>&gt;<br>

<b><span style="font-weight:bold">To:</span></b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br><b><span style="font-weight:bold">Sent:</span></b> Thu, September 2, 2010 7:58:03 AM<br>

<b><span style="font-weight:bold">Subject:</span></b> Insight-users Digest, Vol 77, Issue 5<br></font><br>
Send Insight-users mailing list submissions to<br>    <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span>    <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>

or, via email, send a message with subject or body &#39;help&#39; to<br>    <a href="mailto:insight-users-request@itk.org" target="_blank">insight-users-request@itk.org</a><br><br>You can reach the person managing the list at<br>

    <a href="mailto:insight-users-owner@itk.org" target="_blank">insight-users-owner@itk.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of Insight-users digest...&quot;<br>

<br><br>Today&#39;s
 Topics:<br><br>   1. Build error - itk 3.20, gdcm 2.0.[15+] under mingw (Markus Neuner)<br>   2. Image assignment does not work (D?enan Zuki?)<br>   3. Re: Image assignment does not work (wanlin)<br>   4. Re: Image assignment does not work (Matt McCormick)<br>

   5. Re: Image assignment does not work (D?enan Zuki?)<br>   6. Re: Build error - itk 3.20,    gdcm 2.0.[15+] under mingw<br>      (Bill Lorensen)<br><br><br>----------------------------------------------------------------------<br>

<br>Message: 1<br>Date: Thu, 02 Sep 2010 14:10:42 +0200<br>From: &quot;Markus Neuner&quot; &lt;<a href="mailto:neuner.markus@gmx.net" target="_blank">neuner.markus@gmx.net</a>&gt;<br>Subject: [Insight-users] Build error - itk 3.20, gdcm 2.0.[15+] under<br>

    mingw<br>To: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Message-ID: &lt;<a href="mailto:20100902121042.64950@gmx.net" target="_blank">20100902121042.64950@gmx.net</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br>

<br>Hi,<br><br>i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with mingw under windows xp:<br><br>---- SNIP ----<br>Scanning dependencies of target itkTestDriver<br>[ 96%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj<br>

Linking CXX executable ..\..\bin\itkTestDriver.exe<br>c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF<br>collect2: ld gab 1 als Ende-Status zur?ck<br>mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1<br>

mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2<br>mingw32-make: *** [all] Error 2<br>---- SNAP ----<br><br>Bilding with gdcm 2.0.14 works fine without any
 issues.<br><br>gdcm and itk are configured without any changes to teh standard cmake configurations insted of: ITK_USE_SYSTEM_GDCM=ON and the correct GDCM_DIR.<br><br>To put the gscm-build/bin on the path does not solve the problem.<br>

<br>Greetings,<br>Markus<br><br>Additional informations:<br>MinGW versions
 used:<br>binutils-2.20.51-1-mingw32-bin.tar.lzma<br>gcc-c++-4.4.0-mingw32-bin.tar.gz<br>gcc-c++-4.4.0-mingw32-dll.tar.gz<br>gcc-core-4.4.0-mingw32-bin.tar.gz<br>gcc-core-4.4.0-mingw32-dll.tar.gz<br>gdb-7.1-2-mingw32-bin.tar.gz<br>

gmp-5.0.1-1-mingw32-dev.tar.lzma<br>libexpat-2.0.1-1-mingw32-dll-1.tar.gz<br>libgmp-5.0.1-1-mingw32-dll-10.tar.lzma<br>libgomp-4.5.0-1-mingw32-dll-1.tar.lzma<br>libmpc-0.8.1-1-mingw32-dll-2.tar.lzma<br>libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma<br>

libpthread-2.8.0-3-mingw32-dll-2.tar.lzma<br>libssp-4.5.0-1-mingw32-dll-0.tar.lzma<br>libstdc++-4.5.0-1-mingw32-dll-6.tar.lzma<br>mingw-utils-0.4-1-mingw32-bin.tar.lzma<br>mingw32-make-3.81-20090910.tar.gz<br>mingwrt-3.18-mingw32-dev.tar.gz<br>

mingwrt-3.18-mingw32-dll.tar.gz<br>mpc-0.8.1-1-mingw32-dev.tar.lzma<br>mpfr-2.4.1-1-mingw32-dev.tar.lzma<br>pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma<br>w32api-3.15-1-mingw32-dev.tar.lzma<br>-- <br>GMX DSL SOMMER-SPECIAL: Surf &amp; Phone Flat
 16.000 f?r nur 19,99 &amp;euro;/mtl.!*<br><span><a href="http://portal.gmx.net/de/go/dsl" target="_blank">http://portal.gmx.net/de/go/dsl</a></span><br><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 2 Sep 2010 14:48:21 +0200<br>

From: D?enan Zuki? &lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;<br>Subject: [Insight-users] Image assignment does not work<br>To: Insight-users &lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>

Message-ID:<br>    &lt;AANLkTikeCbU4DT3BCFf9tfEnoQM3f=mQMH+<a href="mailto:zp9mxN7g_@mail.gmail.com" target="_blank">zp9mxN7g_@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>Hi everyone!<br>

<br>I have the following routine:<br><br>void applyFilter(InternalImageType::Pointer
 image,<br>itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer<br>filter)<br>{<br>if (!checkImageLoaded())<br>return;<br>statusbar-&gt;showMessage(&quot;Applying filter:<br>&quot;+QString(filter-&gt;GetNameOfClass()));<br>

 filter-&gt;SetInput( image );<br>filter-&gt;Update();<br>image=filter-&gt;GetOutput();<br> updateVisualizing();<br>resetVisualization();<br>statusbar-&gt;showMessage(&quot;Ready&quot;);<br>}<br><br>and it is invoked like this:<br>

<br>typedef itk::SmoothingRecursiveGaussianImageFilter &lt; InternalImageType,<br>InternalImageType&gt; FilterType;<br>FilterType::Pointer filter = FilterType::New();<br>filter-&gt;SetSigmaArray(myImage-&gt;GetSpacing());<br>

applyFilter(myImage,<br>(itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer)filter);<br><br>However, the above code produces no effect (the image does not change). When<br>content of &quot;applyFilter&quot; is copied to invocation points, it works.<br>

<br>What am I doing
 wrong?<br><br>Regards,<br>D?enan<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a href="http://www.itk.org/pipermail/insight-users/attachments/20100902/b19c9fe4/attachment-0001.htm" target="_blank">http://www.itk.org/pipermail/insight-users/attachments/20100902/b19c9fe4/attachment-0001.htm</a>&gt;</span><br>

<br>------------------------------<br><br>Message: 3<br>Date: Thu, 2 Sep 2010 23:41:06 +1000<br>From: wanlin &lt;<a href="mailto:wanlinzhu@gmail.com" target="_blank">wanlinzhu@gmail.com</a>&gt;<br>Subject: Re: [Insight-users] Image assignment does not work<br>

To: D?enan Zuki? &lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;<br>Cc: Insight-users &lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>Message-ID:<br>

    &lt;<a href="mailto:AANLkTinfjqfbF37A2bWxU7xFCNLZfcKdKYn1AOPyM2m3@mail.gmail.com" target="_blank">AANLkTinfjqfbF37A2bWxU7xFCNLZfcKdKYn1AOPyM2m3@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;utf-8&quot;<br>

<br>What about<br>void applyFilter(InternalImageType:<br>:Pointer &amp; image,<br>itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer<br>filter)<br><br>image=filter-&gt;GetOutput();//here image pointer inside function has been<br>

changed, however, the image outside the function does not.<br><br><br><br><br>2010/9/2 D?enan Zuki? &lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;<br><br>&gt; Hi everyone!<br>&gt;<br>&gt; I have the following routine:<br>

&gt;<br>&gt; void applyFilter(InternalImageType::Pointer image,<br>&gt; itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer<br>&gt;
 filter)<br>&gt; {<br>&gt; if (!checkImageLoaded())<br>&gt; return;<br>&gt; statusbar-&gt;showMessage(&quot;Applying filter:<br>&gt; &quot;+QString(filter-&gt;GetNameOfClass()));<br>&gt;  filter-&gt;SetInput( image );<br>

&gt; filter-&gt;Update();<br>&gt; image=filter-&gt;GetOutput();<br>&gt;  updateVisualizing();<br>&gt; resetVisualization();<br>&gt; statusbar-&gt;showMessage(&quot;Ready&quot;);<br>&gt; }<br>&gt;<br>&gt; and it is invoked like this:<br>

&gt;<br>&gt; typedef itk::SmoothingRecursiveGaussianImageFilter &lt; InternalImageType,<br>&gt; InternalImageType&gt; FilterType;<br>&gt; FilterType::Pointer filter = FilterType::New();<br>&gt; filter-&gt;SetSigmaArray(myImage-&gt;GetSpacing());<br>

&gt; applyFilter(myImage,<br>&gt; (itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer)filter);<br>&gt;<br>&gt; However, the above code produces no effect (the image does not change).<br>&gt; When content of &quot;applyFilter&quot; is copied to invocation
 points, it works.<br>&gt;<br>&gt; What am I doing wrong?<br>&gt;<br>&gt; Regards,<br>&gt; D?enan<br>&gt;<br>&gt; _____________________________________<br>&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>

&gt;<br>&gt; Visit other Kitware open-source projects at<br><span>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a></span><br>&gt;<br>&gt; Kitware offers ITK Training Courses, for more information visit:<br>

<span>&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a></span><br>&gt;<br>&gt; Please keep messages on-topic and check the ITK FAQ at:<br>

<span>&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a></span><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>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a href="http://www.itk.org/pipermail/insight-users/attachments/20100902/212631ce/attachment-0001.htm" target="_blank">http://www.itk.org/pipermail/insight-users/attachments/20100902/212631ce/attachment-0001.htm</a>&gt;</span><br>

<br>------------------------------<br><br>Message: 4<br>Date: Thu, 2 Sep 2010 13:42:40 +0000 (UTC)<br>From: Matt McCormick &lt;<a href="mailto:matt@mmmccormick.com" target="_blank">matt@mmmccormick.com</a>&gt;<br>Subject: Re: [Insight-users] Image assignment does not work<br>

To: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Message-ID: &lt;<a href="mailto:loom.20100902T153756-236@post.gmane.org" target="_blank">loom.20100902T153756-236@post.gmane.org</a>&gt;<br>

Content-Type: text/plain; charset=us-ascii<br><br>Hi Dzenan,<br><br>&gt; <br>&gt; void applyFilter(InternalImageType::Pointer image, <br>itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer filter)<br>

<br>How about changing the signature to use references, i.e.<br><br>void applyFilter(InternalImageType::Pointer&amp; image, <br>itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer&amp; filter)<br>
<br>
&gt; <br>&gt; {<br>&gt; <br>&gt;     if (!checkImageLoaded())<br>&gt; <br>&gt;         return;<br>&gt; <br>&gt;     statusbar-&gt;showMessage(&quot;Applying filter: &quot;+QString(filter-<br>&gt;GetNameOfClass()));<br>&gt; <br>

&gt; <br>&gt;     filter-&gt;SetInput( image );<br>&gt; <br>&gt;     filter-&gt;Update();<br>&gt; <br>&gt;
     image=filter-&gt;GetOutput();<br>&gt; <br>&gt; <br>&gt;     updateVisualizing();<br>&gt; <br>&gt;     resetVisualization();<br>&gt; <br>&gt;     statusbar-&gt;showMessage(&quot;Ready&quot;);<br>&gt; <br>&gt; }<br>&gt; <br>

&gt; <br>&gt; and it is invoked like this:<br>&gt; <br>&gt; <br>&gt; typedef itk::SmoothingRecursiveGaussianImageFilter &lt; InternalImageType, <br>InternalImageType&gt; FilterType;<br>&gt; FilterType::Pointer filter = FilterType::New();<br>

&gt; <br>&gt; filter-&gt;SetSigmaArray(myImage-&gt;GetSpacing());<br><br>I would not expect much of a change with such a small sigma.<br><br>&gt; applyFilter(myImage, <br>(itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer)filter);<br>

<br>I am surprised this cast works given the recent discussions of smart pointer <br>casting on the ITK developers list.  If there is intention to cast to base <br>classes, then using
 raw pointers may be better.<br><br>Regards,<br>Matt<br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Thu, 2 Sep 2010 16:02:50 +0200<br>From: D?enan Zuki? &lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;<br>

Subject: Re: [Insight-users] Image assignment does not work<br>To: Matt McCormick &lt;<a href="mailto:matt@mmmccormick.com" target="_blank">matt@mmmccormick.com</a>&gt;, <a href="mailto:wanlinzhu@gmail.com" target="_blank">wanlinzhu@gmail.com</a><br>

Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Message-ID:<br>    &lt;AANLkTikBrpYQCNe+M6sZCfHwzWVAhk8bMSvTFCCHg+<a href="mailto:Ar@mail.gmail.com" target="_blank">Ar@mail.gmail.com</a>&gt;<br>

Content-Type: text/plain; charset=&quot;utf-8&quot;<br><br>Thanks both, that was it.<br><br>D?enan<br><br>How
 about changing the signature to use references, i.e.<br>&gt;<br>&gt; void applyFilter(InternalImageType::Pointer&amp; image,<br>&gt; itk::ImageToImageFilter&lt;InternalImageType,InternalImageType&gt;::Pointer&amp;<br>&gt; filter)<br>

&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a href="http://www.itk.org/pipermail/insight-users/attachments/20100902/cb6184b3/attachment-0001.htm" target="_blank">http://www.itk.org/pipermail/insight-users/attachments/20100902/cb6184b3/attachment-0001.htm</a>&gt;</span><br>

<br>------------------------------<br><br>Message: 6<br>Date: Thu, 2 Sep 2010 10:57:56 -0400<br>From: Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;<br>Subject: Re: [Insight-users] Build error - itk 3.20,    gdcm 2.0.[15+]<br>

    under mingw<br>To: Markus Neuner &lt;<a href="mailto:neuner.markus@gmx.net" target="_blank">neuner.markus@gmx.net</a>&gt;<br>Cc: <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>Message-ID:<br>

    &lt;AANLkTimbn=85QhD3vuUzkE84-BAdv=<a href="mailto:gQqpk9Dh-F5j2Q@mail.gmail.com" target="_blank">gQqpk9Dh-F5j2Q@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1<br><br>I was getting the same error a while back. Since then I have upgraded<br>

to cmake 2.8.2 and I&#39;m building against the current itk head.<br><br>What version of cmake are you using?<br><br>Mathieu, Has something changed since 3.20 that would fix this issue.<br>Other than the move of gdcm 2 into the itk tree.<br>

<br>Bill<br><br>On Thu, Sep 2, 2010 at 8:10 AM, Markus Neuner &lt;<a href="mailto:neuner.markus@gmx.net" target="_blank">neuner.markus@gmx.net</a>&gt;
 wrote:<br>&gt; Hi,<br>&gt;<br>&gt; i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with mingw under windows xp:<br>&gt;<br>&gt; ---- SNIP ----<br>&gt; Scanning dependencies of target itkTestDriver<br>

&gt; [ 96%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj<br>&gt; Linking CXX executable ..\..\bin\itkTestDriver.exe<br>&gt; c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF<br>

&gt; collect2: ld gab 1 als Ende-Status zur?ck<br>&gt; mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1<br>&gt; mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2<br>&gt; mingw32-make: *** [all] Error 2<br>

&gt; ---- SNAP ----<br>&gt;<br>&gt; Bilding with gdcm 2.0.14 works fine without any issues.<br>&gt;<br>&gt; gdcm and itk are configured without any changes to teh standard cmake configurations insted of: ITK_USE_SYSTEM_GDCM=ON and the correct
 GDCM_DIR.<br>&gt;<br>&gt; To put the gscm-build/bin on the path does not solve the problem.<br>&gt;<br>&gt; Greetings,<br>&gt; Markus<br>&gt;<br>&gt; Additional informations:<br>&gt; MinGW versions used:<br>&gt; binutils-2.20.51-1-mingw32-bin.tar.lzma<br>

&gt; gcc-c++-4.4.0-mingw32-bin.tar.gz<br>&gt; gcc-c++-4.4.0-mingw32-dll.tar.gz<br>&gt; gcc-core-4.4.0-mingw32-bin.tar.gz<br>&gt; gcc-core-4.4.0-mingw32-dll.tar.gz<br>&gt; gdb-7.1-2-mingw32-bin.tar.gz<br>&gt; gmp-5.0.1-1-mingw32-dev.tar.lzma<br>

&gt; libexpat-2.0.1-1-mingw32-dll-1.tar.gz<br>&gt; libgmp-5.0.1-1-mingw32-dll-10.tar.lzma<br>&gt; libgomp-4.5.0-1-mingw32-dll-1.tar.lzma<br>&gt; libmpc-0.8.1-1-mingw32-dll-2.tar.lzma<br>&gt; libmpfr-2.4.1-1-mingw32-dll-1.tar.lzma<br>

&gt; libpthread-2.8.0-3-mingw32-dll-2.tar.lzma<br>&gt; libssp-4.5.0-1-mingw32-dll-0.tar.lzma<br>&gt; libstdc++-4.5.0-1-mingw32-dll-6.tar.lzma<br>&gt; mingw-utils-0.4-1-mingw32-bin.tar.lzma<br>&gt;
 mingw32-make-3.81-20090910.tar.gz<br>&gt; mingwrt-3.18-mingw32-dev.tar.gz<br>&gt; mingwrt-3.18-mingw32-dll.tar.gz<br>&gt; mpc-0.8.1-1-mingw32-dev.tar.lzma<br>&gt; mpfr-2.4.1-1-mingw32-dev.tar.lzma<br>&gt; pthreads-w32-2.8.0-3-mingw32-dev.tar.lzma<br>

&gt; w32api-3.15-1-mingw32-dev.tar.lzma<br>&gt; --<br>&gt; GMX DSL SOMMER-SPECIAL: Surf &amp; Phone Flat 16.000 f?r nur 19,99 &amp;euro;/mtl.!*<br>&gt; <a href="http://portal.gmx.net/de/go/dsl" target="_blank">http://portal.gmx.net/de/go/dsl</a><br>

&gt; _____________________________________<br><span>&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></span><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>_______________________________________________<br>

Insight-users mailing list<br><a href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>

<br><br>End of Insight-users Digest, Vol 77, Issue
 5<br>********************************************<br></div></div>
</div><br>

      </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.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></div>