[Insight-users] Build error - itk 3.20, gdcm 2.0.[15+] under mingw

Bill Lorensen bill.lorensen at gmail.com
Sat Sep 4 17:07:57 EDT 2010


Now I remember my situation. It was the same that Markus is
experiencing. This was with itk 3.20. I built gdcm outside itk and
specified itk to use the system gdcm. I got the same error as Markus.

Now I'm using itk head and gdcm2 is included with it. Here, I have no
problems with mingw.

So, the issue is with using a gdcm built outside of itk and selected
as the susyem gdcm.

Bill

On Sat, Sep 4, 2010 at 3:39 PM, Markus Neuner <neuner.markus at gmx.net> wrote:
> Yes. A complete clean build.
> Extracted the source coe.
> gdcm-src/
> itk-src/
> Created a build directory.
> gdcm-build/
> itk-build/
> Configure and generate gdcm with latest cmake.
> Build gdcm.
> Configure and generate itk.
> Build itk.
>
> On 04.09.2010 18:34, Mathieu Malaterre wrote:
>> On Thu, Sep 2, 2010 at 2:10 PM, Markus Neuner <neuner.markus at gmx.net> wrote:
>>
>>> Hi,
>>>
>>> i get a linker error when building gdcm 2.0.15 or greater with itk 3.20 with mingw under windows xp:
>>>
>>> ---- SNIP ----
>>> Scanning dependencies of target itkTestDriver
>>> [ 96%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj
>>> Linking CXX executable ..\..\bin\itkTestDriver.exe
>>> c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lgdcmMSFF
>>> collect2: ld gab 1 als Ende-Status zurück
>>> mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1
>>> mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
>>> mingw32-make: *** [all] Error 2
>>>
>> Is it a clean build ?
>>
>> Thx
>>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list