<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello All,<br><br>&nbsp; I finally figured out what went wrong.&nbsp; I needed CableSwig (which uses python), but the debug version of this could not be built as python_d.lib is not available.&nbsp; I rebuilt ITK with CableSwig turned off and write functions now work fine.<br><br>Emma<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "Magnotta, Vincent A" &lt;vincent-magnotta@uiowa.edu&gt;<br><b><span style="font-weight: bold;">To:</span></b> Emma Ryan &lt;eryanvtk@yahoo.com&gt;; insight-users@itk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Sun, September 5,
 2010 7:49:23 AM<br><b><span style="font-weight: bold;">Subject:</span></b> RE: [Insight-users] ItkFileReader crashes for ITK 3.20 on Windows 7with vs 2008<br></font><br>



 
 
<title>RE: [Insight-users] ItkFileReader crashes for ITK 3.20 on Windows 7with vs 2008</title>



<p><font size="2">Emma,<br>
<br>
When you build your application in both Release and Debug mode, you will need two versions of ITK (Release and Debug). CMake does not control how ITK is build from the IDE. Instead you need to specify the mode of compilation within Visual Studio. You can get random seg faults that result when building a program in release mode and linking to a Debug version of the ITK libraries (and vice-versa).<br>
<br>
Vince<br>
<br>
<br>
----------------------<br>
Associate Professor<br>
Department of Radiology<br>
0453-D JCP<br>
200 Hawkins Drive<br>
Iowa City, IA 52242<br>
E-mail: vincent-magnotta@uiowa.edu<br>
Phone: 319-356-8255 Fax: 319-353-6275<br><span>
Website: <a target="_blank" href="http://www.radiology.uiowa.edu">http://www.radiology.uiowa.edu</a></span><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: insight-users-bounces@itk.org on behalf of Emma Ryan<br>
Sent: Fri 9/3/2010 8:51 PM<br>
To: insight-users@itk.org<br>
Subject: [Insight-users] ItkFileReader crashes for ITK 3.20 on Windows 7with vs 2008<br>
<br>
Hello All,<br>
<br>
&nbsp; I would appreciate&nbsp; a little help in understanding the odd behavior of ITK<br>
read and write functions.<br>
The following program works fine in release mode, but crashes in debug mode with<br>
a 'read access violation'.<br>
<br>
<br>
If however, I use Input and OutputPixelTypes as 'char' instead of 'unsigned<br>
char', it crashes in both release and debug mode.<br>
<br>
My input to the program is image.jpg. Any debugging suggestions for access<br>
violations are welcome too.<br>
<br>
Thank you,<br>
Emma<br>
<br>
#include "itkImage.h"<br>
#include "itkImageFileReader.h"<br>
#include "itkImageFileWriter.h"<br>
<br>
int main( int argc, char * argv[] )<br>
{<br>
&nbsp; if( argc &lt; 3 )<br>
&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp; std::cerr &lt;&lt; "Usage: " &lt;&lt; argv[0];<br>
&nbsp;&nbsp;&nbsp; std::cerr &lt;&lt; " inputImageFile outputImageFile ";&nbsp;<br>
&nbsp;&nbsp;&nbsp; std::cerr &lt;&lt; std::endl;&nbsp;<br>
&nbsp;&nbsp;&nbsp; return EXIT_FAILURE;<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;<br>
&nbsp; typedef&nbsp; unsigned char&nbsp; InputPixelType;<br>
&nbsp; typedef&nbsp; unsigned char&nbsp; OutputPixelType;<br>
&nbsp;<br>
&nbsp; typedef itk::Image&lt; InputPixelType,&nbsp; 2 &gt;&nbsp;&nbsp; InputImageType;<br>
&nbsp; typedef itk::Image&lt; OutputPixelType, 2 &gt;&nbsp;&nbsp; OutputImageType;<br>
<br>
&nbsp; typedef itk::ImageFileReader&lt; InputImageType &gt;&nbsp; ReaderType;<br>
&nbsp;<br>
&nbsp; typedef itk::ImageFileWriter&lt; OutputImageType &gt;&nbsp; WriterType;<br>
&nbsp;<br>
&nbsp; ReaderType::Pointer reader = ReaderType::New();<br>
<br>
&nbsp; WriterType::Pointer writer = WriterType::New();<br>
<br>
&nbsp; reader-&gt;SetFileName( argv[1] );<br>
&nbsp; reader-&gt;Update();<br>
<br>
&nbsp; writer-&gt;SetFileName( argv[2] );<br>
&nbsp; writer-&gt;SetInput( reader-&gt;GetOutput());<br>
&nbsp; writer-&gt;Update();<br>
<br>
&nbsp; return EXIT_SUCCESS;<br>
}<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
From: "insight-users-request@itk.org" &lt;insight-users-request@itk.org&gt;<br>
To: insight-users@itk.org<br>
Sent: Thu, September 2, 2010 7:58:03 AM<br>
Subject: Insight-users Digest, Vol 77, Issue 5<br>
<br>
Send Insight-users mailing list submissions to<br>
&nbsp;&nbsp;&nbsp; insight-users@itk.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br><span>
&nbsp;&nbsp;&nbsp; <a target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>
or, via email, send a message with subject or body 'help' to<br>
&nbsp;&nbsp;&nbsp; insight-users-request@itk.org<br>
<br>
You can reach the person managing the list at<br>
&nbsp;&nbsp;&nbsp; insight-users-owner@itk.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Insight-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
&nbsp;&nbsp; 1. Build error - itk 3.20, gdcm 2.0.[15+] under mingw (Markus Neuner)<br>
&nbsp;&nbsp; 2. Image assignment does not work (D?enan Zuki?)<br>
&nbsp;&nbsp; 3. Re: Image assignment does not work (wanlin)<br>
&nbsp;&nbsp; 4. Re: Image assignment does not work (Matt McCormick)<br>
&nbsp;&nbsp; 5. Re: Image assignment does not work (D?enan Zuki?)<br>
&nbsp;&nbsp; 6. Re: Build error - itk 3.20,&nbsp;&nbsp;&nbsp; gdcm 2.0.[15+] under mingw<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Bill Lorensen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 02 Sep 2010 14:10:42 +0200<br>
From: "Markus Neuner" &lt;neuner.markus@gmx.net&gt;<br>
Subject: [Insight-users] Build error - itk 3.20, gdcm 2.0.[15+] under<br>
&nbsp;&nbsp;&nbsp; mingw<br>
To: insight-users@itk.org<br>
Message-ID: &lt;20100902121042.64950@gmx.net&gt;<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with<br>
mingw under windows xp:<br>
<br>
---- SNIP ----<br>
Scanning dependencies of target itkTestDriver<br>
[ 96%] Building CXX object<br>
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<br>
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<br>
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 target="_blank" href="http://portal.gmx.net/de/go/dsl">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;dzenanz@gmail.com&gt;<br>
Subject: [Insight-users] Image assignment does not work<br>
To: Insight-users &lt;insight-users@itk.org&gt;<br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp; &lt;AANLkTikeCbU4DT3BCFf9tfEnoQM3f=mQMH+zp9mxN7g_@mail.gmail.com&gt;<br>
Content-Type: text/plain; charset="utf-8"<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("Applying filter:<br>
"+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("Ready");<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 "applyFilter" 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>
URL:<br><span>
&lt;<a target="_blank" href="http://www.itk.org/pipermail/insight-users/attachments/20100902/b19c9fe4/attachment-0001.htm">http://www.itk.org/pipermail/insight-users/attachments/20100902/b19c9fe4/attachment-0001.htm</a>&gt;</span><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 2 Sep 2010 23:41:06 +1000<br>
From: wanlin &lt;wanlinzhu@gmail.com&gt;<br>
Subject: Re: [Insight-users] Image assignment does not work<br>
To: D?enan Zuki? &lt;dzenanz@gmail.com&gt;<br>
Cc: Insight-users &lt;insight-users@itk.org&gt;<br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp; &lt;AANLkTinfjqfbF37A2bWxU7xFCNLZfcKdKYn1AOPyM2m3@mail.gmail.com&gt;<br>
Content-Type: text/plain; charset="utf-8"<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;dzenanz@gmail.com&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("Applying filter:<br>
&gt; "+QString(filter-&gt;GetNameOfClass()));<br>
&gt;&nbsp; filter-&gt;SetInput( image );<br>
&gt; filter-&gt;Update();<br>
&gt; image=filter-&gt;GetOutput();<br>
&gt;&nbsp; updateVisualizing();<br>
&gt; resetVisualization();<br>
&gt; statusbar-&gt;showMessage("Ready");<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;<br>
(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 "applyFilter" 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 target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br><span>
&gt; <a target="_blank" href="http://www.kitware.com/opensource/opensource.html">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 target="_blank" href="http://www.kitware.com/products/protraining.html">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 target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></span><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:<br><span>
&lt;<a target="_blank" href="http://www.itk.org/pipermail/insight-users/attachments/20100902/212631ce/attachment-0001.htm">http://www.itk.org/pipermail/insight-users/attachments/20100902/212631ce/attachment-0001.htm</a>&gt;</span><br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 2 Sep 2010 13:42:40 +0000 (UTC)<br>
From: Matt McCormick &lt;matt@mmmccormick.com&gt;<br>
Subject: Re: [Insight-users] Image assignment does not work<br>
To: insight-users@itk.org<br>
Message-ID: &lt;loom.20100902T153756-236@post.gmane.org&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;&nbsp;&nbsp;&nbsp;&nbsp; if (!checkImageLoaded())<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; statusbar-&gt;showMessage("Applying filter: "+QString(filter-<br>
&gt;GetNameOfClass()));<br>
&gt;<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; filter-&gt;SetInput( image );<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; filter-&gt;Update();<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; image=filter-&gt;GetOutput();<br>
&gt;<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; updateVisualizing();<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; resetVisualization();<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; statusbar-&gt;showMessage("Ready");<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.&nbsp; 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;dzenanz@gmail.com&gt;<br>
Subject: Re: [Insight-users] Image assignment does not work<br>
To: Matt McCormick &lt;matt@mmmccormick.com&gt;, wanlinzhu@gmail.com<br>
Cc: insight-users@itk.org<br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp; &lt;AANLkTikBrpYQCNe+M6sZCfHwzWVAhk8bMSvTFCCHg+Ar@mail.gmail.com&gt;<br>
Content-Type: text/plain; charset="utf-8"<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>
URL:<br><span>
&lt;<a target="_blank" href="http://www.itk.org/pipermail/insight-users/attachments/20100902/cb6184b3/attachment-0001.htm">http://www.itk.org/pipermail/insight-users/attachments/20100902/cb6184b3/attachment-0001.htm</a>&gt;</span><br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 2 Sep 2010 10:57:56 -0400<br>
From: Bill Lorensen &lt;bill.lorensen@gmail.com&gt;<br>
Subject: Re: [Insight-users] Build error - itk 3.20,&nbsp;&nbsp;&nbsp; gdcm 2.0.[15+]<br>
&nbsp;&nbsp;&nbsp; under mingw<br>
To: Markus Neuner &lt;neuner.markus@gmx.net&gt;<br>
Cc: insight-users@itk.org<br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp; &lt;AANLkTimbn=85QhD3vuUzkE84-BAdv=gQqpk9Dh-F5j2Q@mail.gmail.com&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'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;neuner.markus@gmx.net&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<br>
&gt;mingw under windows xp:<br>
&gt;<br>
&gt; ---- SNIP ----<br>
&gt; Scanning dependencies of target itkTestDriver<br>
&gt; [ 96%] Building CXX object<br>
&gt;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<br>
&gt;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<br>
&gt;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 rel="nofollow" target="_blank" href="http://portal.gmx.net/de/go/dsl">http://portal.gmx.net/de/go/dsl</a><br>
&gt; _____________________________________<br><span>
&gt; Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.html">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 rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Insight-users mailing list<br>
Insight-users@itk.org<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br>
End of Insight-users Digest, Vol 77, Issue 5<br>
********************************************<br>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<br>
</font>
</p>

</div></div>
</div><br>







      </body></html>