[Insight-users] Bug using system gdcm with ITK on Windows with VS 2008

Bradley Lowekamp blowekamp at mail.nih.gov
Thu May 3 09:17:34 EDT 2012


Hello,

Could you please create a ticket it ITK's bug tracker: http://issues.itk.org/

As an open source community rely heavily on contributions and bug fix from the community to address issue when the come up. A proposed patch to file the issue would greatly expedite getting the solution fixed in the main repository.

Thanks,
Brad

On May 2, 2012, at 4:08 PM, Jonathan Morra wrote:

> I have found a bug in the build process for ITK with system gdcm on Windows.  After selecting a system GDCM, the itkTestDriver project does not have the gdcm libraries correctly referenced by the linker.  The below text is lifted from itkTestDriver.vcproj
> 
> AdditionalDependencies="$(NOINHERIT) kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  ..\..\..\..\lib\Debug\ITKIOBMP-4.2.lib ..\..\..\..\lib\Debug\ITKIOBioRad-4.2.lib ..\..\..\..\lib\Debug\ITKIOGDCM-4.2.lib ..\..\..\..\lib\Debug\ITKIOGIPL-4.2.lib ..\..\..\..\lib\Debug\ITKIOJPEG-4.2.lib ..\..\..\..\lib\Debug\ITKIOLSM-4.2.lib ..\..\..\..\lib\Debug\ITKIOMeta-4.2.lib ..\..\..\..\lib\Debug\ITKIONIFTI-4.2.lib ..\..\..\..\lib\Debug\ITKIONRRD-4.2.lib ..\..\..\..\lib\Debug\ITKIOPNG-4.2.lib ..\..\..\..\lib\Debug\ITKIOStimulate-4.2.lib ..\..\..\..\lib\Debug\ITKIOTIFF-4.2.lib ..\..\..\..\lib\Debug\ITKIOVTK-4.2.lib ..\..\..\..\lib\Debug\itksys-4.2.lib ..\..\..\..\lib\Debug\ITKGDCM-4.2.lib gdcmMSFF.lib gdcmDICT.lib gdcmIOD.lib gdcmDSED.lib gdcmCommon.lib ..\..\..\..\lib\Debug\ITKEXPAT-4.2.lib gdcmjpeg8.lib gdcmjpeg12.lib gdcmjpeg16.lib ..\..\..\..\lib\Debug\itkopenjpeg-4.2.lib rpcrt4.lib ..\..\..\..\lib\Debug\itktiff-4.2.lib ..\..\..\..\lib\Debug\itkjpeg-4.2.lib ..\..\..\..\lib\Debug\ITKMetaIO-4.2.lib comctl32.lib wsock32.lib ..\..\..\..\lib\Debug\ITKniftiio-4.2.lib ..\..\..\..\lib\Debug\ITKznz-4.2.lib ..\..\..\..\lib\Debug\ITKNrrdIO-4.2.lib ..\..\..\..\lib\Debug\itkpng-4.2.lib ..\..\..\..\lib\Debug\itkzlib-4.2.lib ..\..\..\..\lib\Debug\ITKIOImageBase-4.2.lib ..\..\..\..\lib\Debug\ITKCommon-4.2.lib ..\..\..\..\lib\Debug\itksys-4.2.lib ws2_32.lib ..\..\..\..\lib\Debug\ITKVNLInstantiation-4.2.lib ..\..\..\..\lib\Debug\itkvnl_algo-4.2.lib ..\..\..\..\lib\Debug\itkv3p_lsqr-4.2.lib ..\..\..\..\lib\Debug\itkvnl-4.2.lib ..\..\..\..\lib\Debug\itkvcl-4.2.lib ..\..\..\..\lib\Debug\itkv3p_netlib-4.2.lib "
> 
> However, it should read as follows
> 
> AdditionalDependencies="$(NOINHERIT) kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  ..\..\..\..\lib\Debug\ITKIOBMP-4.2.lib ..\..\..\..\lib\Debug\ITKIOBioRad-4.2.lib ..\..\..\..\lib\Debug\ITKIOGDCM-4.2.lib ..\..\..\..\lib\Debug\ITKIOGIPL-4.2.lib ..\..\..\..\lib\Debug\ITKIOJPEG-4.2.lib ..\..\..\..\lib\Debug\ITKIOLSM-4.2.lib ..\..\..\..\lib\Debug\ITKIOMeta-4.2.lib ..\..\..\..\lib\Debug\ITKIONIFTI-4.2.lib ..\..\..\..\lib\Debug\ITKIONRRD-4.2.lib ..\..\..\..\lib\Debug\ITKIOPNG-4.2.lib ..\..\..\..\lib\Debug\ITKIOStimulate-4.2.lib ..\..\..\..\lib\Debug\ITKIOTIFF-4.2.lib ..\..\..\..\lib\Debug\ITKIOVTK-4.2.lib ..\..\..\..\lib\Debug\itksys-4.2.lib ..\..\..\..\lib\Debug\ITKGDCM-4.2.lib c:\gdcm\x86\gdcmMSFF.lib c:\gdcm\x86\gdcmDICT.lib c:\gdcm\x86\gdcmIOD.lib c:\gdcm\x86\gdcmDSED.lib c:\gdcm\x86\gdcmCommon.lib ..\..\..\..\lib\Debug\ITKEXPAT-4.2.lib c:\gdcm\x86\gdcmjpeg8.lib c:\gdcm\x86\gdcmjpeg12.lib c:\gdcm\x86\gdcmjpeg16.lib ..\..\..\..\lib\Debug\itkopenjpeg-4.2.lib rpcrt4.lib ..\..\..\..\lib\Debug\itktiff-4.2.lib ..\..\..\..\lib\Debug\itkjpeg-4.2.lib ..\..\..\..\lib\Debug\ITKMetaIO-4.2.lib comctl32.lib wsock32.lib ..\..\..\..\lib\Debug\ITKniftiio-4.2.lib ..\..\..\..\lib\Debug\ITKznz-4.2.lib ..\..\..\..\lib\Debug\ITKNrrdIO-4.2.lib ..\..\..\..\lib\Debug\itkpng-4.2.lib ..\..\..\..\lib\Debug\itkzlib-4.2.lib ..\..\..\..\lib\Debug\ITKIOImageBase-4.2.lib ..\..\..\..\lib\Debug\ITKCommon-4.2.lib ..\..\..\..\lib\Debug\itksys-4.2.lib ws2_32.lib ..\..\..\..\lib\Debug\ITKVNLInstantiation-4.2.lib ..\..\..\..\lib\Debug\itkvnl_algo-4.2.lib ..\..\..\..\lib\Debug\itkv3p_lsqr-4.2.lib ..\..\..\..\lib\Debug\itkvnl-4.2.lib ..\..\..\..\lib\Debug\itkvcl-4.2.lib ..\..\..\..\lib\Debug\itkv3p_netlib-4.2.lib "
> 
> Notice how the gdcm libraries are now prefaced with their appropriate location for my disk (obviously they should be taken from the CMake GDCM_DIR value).
> 
> Please let me know when you fix this.
> 
> Thanks
> _____________________________________
> 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.php
> 
> 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

========================================================
Bradley Lowekamp  
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120503/224256d8/attachment-0001.htm>


More information about the Insight-users mailing list