[Insight-developers] Integration of GDCM 0.6 into ITK

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Nov 9 09:45:06 EST 2004


Julien,

	Sure that would help. Could you set it as Experimental ? I'll look into 
the problems then. I'll set up a borland machine to test gdcm only maybe 
later today, in the meantime if this is easy for you to turn the option 
on, this would be helpfull.

Thanks
Mathieu


Julien Jomier wrote:
> We've one machine running bcc, I've been debugging some applications with
> this compiler. Let me know if I can help with this.
> 
> Julien
> 
> ----- Original Message ----- 
> From: "Lorensen, William E (Research)" <lorensen at crd.ge.com>
> To: "'Mathieu Malaterre'" <mathieu.malaterre at kitware.com>; "Julien Jomier"
> <jjomier at cs.unc.edu>
> Cc: <insight-developers at public.kitware.com>
> Sent: Monday, November 08, 2004 6:45 PM
> Subject: RE: [Insight-developers] Integration of GDCM 0.6 into ITK
> 
> 
> 
>>Mathieu,
>>Borland will not build gdcm. Have you tried it?
>>
>>Bill
>>
>>-----Original Message-----
>>From: Mathieu Malaterre [mailto:mathieu.malaterre at kitware.com]
>>Sent: Monday, November 08, 2004 3:15 PM
>>To: Julien Jomier
>>Cc: insight-developers at public.kitware.com
>>Subject: Re: [Insight-developers] Integration of GDCM 0.6 into ITK
>>
>>
>>Julien,
>>
>>Thanks for report. With my previous 'fix' I manage to break the gdcm
>>
>>build process. Everything should be fix now.
>>
>>Sorry for troubles
>>Mathieu
>>
>>Julien Jomier wrote:
>>
>>>Hi Mathieu,
>>>
>>>I think you should put 'itkgdcm' between IF(USE_GDCM) ENDIF(USE_GDCM) in
>>
>>the
>>
>>>TARGET_LINK_LIBRARIES in Insight/Code/IO/CMakeLists.txt. Otherwise Tests
>>
>>and
>>
>>>Examples are trying to link with the library even if the option is
> 
> turned
> 
>>>OFF.
>>>
>>>--------------------Configuration: itkNumericsTests - Win32
>>>RelWithDebInfo--------------------
>>>Linking...
>>>LINK : fatal error LNK1104: cannot open file "itkgdcm.lib"
>>>Error executing link.exe.
>>>
>>>Adding:
>>>
>>>IF(USE_GDCM)
>>>TARGET_LINK_LIBRARIES(ITKIO
>>>itkgdcm)
>>>ENDIF(USE_GDCM)
>>>
>>>seems to work on my local copy (Win2k-MSVC6) but still getting some
>>
>>mangling
>>
>>>issues... (I'm investigating...)
>>>
>>>----
>>>ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external
> 
> symbol
> 
>>>_itk_jpeg8_jpeg_read_header
>>>itktiff.lib(tif_jpeg.obj) : error LNK2001: unresolved external symbol
>>>_itk_jpeg8_jpeg_read_header
>>>ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external
> 
> symbol
> 
>>>_itk_jpeg8_jpeg_stdio_src
>>>ITKIO.lib(itkJPEGImageIO.obj) : error LNK2001: unresolved external
> 
> symbol
> 
>>>_itk_jpeg8_jpeg_CreateDecompress
>>>----
>>>
>>>Julien
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: insight-developers-bounces at itk.org
>>>>[mailto:insight-developers-bounces at itk.org] On Behalf Of
>>>>Mathieu Malaterre
>>>>Sent: Monday, November 08, 2004 1:22 PM
>>>>To: insight-developers at public.kitware.com
>>>>Cc: Mailing list gdcm
>>>>Subject: [Insight-developers] Integration of GDCM 0.6 into ITK
>>>>
>>>>
>>>>Hello,
>>>>
>>>>The integration of GDCM is done in ITK CVS Head. For
>>>>those of you using
>>>>an external gdcm build, you'll have a build problem since I rename
>>>>libgdm into libitkgdcm.
>>>>
>>>>In order to use it you have to turn the USE_GDCM to ON
>>>>in your ITK
>>>>configuration. Again for those who were using outside gdcm,
>>>>remove all
>>>>old GDCM references.
>>>>
>>>>Since the gdcm library I put into ITK is the 0.6 I
>>>>would like to remove
>>>>any backwrad compatibilty (for instance to gdcm 0.5) that are
>>>>currently
>>>>in itkGDCMImageIO and itkGDCMSeriesFileNames.
>>>>
>>>>Please note this support is now very experimental. In
>>>>particular gdcm
>>>>was relying on the 'tellg' fonction which is broken on some
>>>>plateforms.
>>>>In the next days, I'll use more and more of kitware 'cross plateform'
>>>>fonction to work around known plateforms bugs. Therefore the
>>>>developement of gdcm and the gdcm within ITK will differ as I
>>>>will have
>>>>access to kwsys and other library which I didn't from gdcm only.
>>>>
>>>>Let me know if you have any problem,
>>>>Mathieu
>>>>
>>>>
>>>>_______________________________________________
>>>>Insight-developers mailing list
>>>>Insight-developers at itk.org
>>>>http://www.itk.org/mailman/listinfo/insight-developers
>>>>
>>>
>>>
>>>
>>
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk.org
>>http://www.itk.org/mailman/listinfo/insight-developers
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk.org
>>http://www.itk.org/mailman/listinfo/insight-developers
>>
> 
> 
> 





More information about the Insight-developers mailing list