[Dcmlib] Error Compile GDCM

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jan 28 14:48:01 CET 2008


Hi Paulo,

  Please reply to the mailing list instead of private email, as other
might be able to help you too, thanks.

  For all 'pure' gdcm executable, you do not need to change anything,
since on windows the $PWD will be the first path used to look for
shared libs. But if you are using 'hybrid' gdcm+VTK library, then you
either need to set your PATH to include the shared lib for VTK, or
simply copy all the VTK dll into your gdcm bin directory (where all
gdcm .dll are to be found).

HTH
-Mathieu


On Jan 28, 2008 2:08 PM, Paulo Henrique Junqueira Amorim
<paulojamorim at gmail.com> wrote:
> Congratulations Mathieu,
>
> I am update my cvs and compile:
>
> ========== Rebuild All: 18 succeeded, 0 failed, 1 skipped ==========
>
> How do I use?
>
>  Set in the path?
>
> Generate files:
>
> 28/01/2008  11:06            22.528 Bmp2Dcm.exe
> 28/01/2008  11:06             4.924 Bmp2Dcm.exp
> 28/01/2008  11:06           183.296 bmp2dcm.idb
> 28/01/2008  11:06             8.928 Bmp2Dcm.lib
>  28/01/2008  11:05           675.840 gdcm.dll
> 28/01/2008  11:05           237.333 gdcm.exp
> 28/01/2008  11:05           510.976 gdcm.idb
> 28/01/2008  11:05           384.830 gdcm.lib
> 28/01/2008  11:05           135.168 gdcmjpeg12.dll
>  28/01/2008  11:05            20.623 gdcmjpeg12.exp
> 28/01/2008  11:05           166.912 gdcmjpeg12.idb
> 28/01/2008  11:05            35.368 gdcmjpeg12.lib
> 28/01/2008  11:05           135.168 gdcmjpeg16.dll
> 28/01/2008  11:05            20.623 gdcmjpeg16.exp
>  28/01/2008  11:05           166.912 gdcmjpeg16.idb
> 28/01/2008  11:05            35.368 gdcmjpeg16.lib
> 28/01/2008  11:05           135.168 gdcmjpeg8.dll
> 28/01/2008  11:05            20.268 gdcmjpeg8.exp
> 28/01/2008  11:05           166.912 gdcmjpeg8.idb
>  28/01/2008  11:05            34.648 gdcmjpeg8.lib
> 28/01/2008  11:05            90.112 gdcmopenjpeg.dll
> 28/01/2008  11:05             2.941 gdcmopenjpeg.exp
> 28/01/2008  11:05           297.984 gdcmopenjpeg.idb
>  28/01/2008  11:05             5.840 gdcmopenjpeg.lib
> 28/01/2008  11:06           147.456 vtkgdcm.dll
> 28/01/2008  11:06            37.104 vtkgdcm.exp
> 28/01/2008  11:06           338.944 vtkgdcm.idb
> 28/01/2008  11:06            61.916 vtkgdcm.lib
>  28/01/2008  11:06            16.896 vtkgdcmdemo.exe
> 28/01/2008  11:06             5.794 vtkgdcmdemo.exp
> 28/01/2008  11:06           216.064 vtkgdcmdemo.idb
> 28/01/2008  11:06            10.496 vtkgdcmdemo.lib
> 28/01/2008  11:06            22.528 vtkgdcmPython.dll
>  28/01/2008  11:06               592 vtkgdcmPython.exp
> 28/01/2008  11:06           412.672 vtkgdcmpython.idb
> 28/01/2008  11:06             1.898 vtkgdcmPython.lib
> 28/01/2008  11:06            27.136 vtkgdcmSerieViewer.exe
>  28/01/2008  11:06             5.809 vtkgdcmSerieViewer.exp
> 28/01/2008  11:06           207.872 vtkgdcmserieviewer.idb
> 28/01/2008  11:06            10.838 vtkgdcmSerieViewer.lib
> 28/01/2008  11:06            27.136 vtkgdcmSerieViewer2.exe
>  28/01/2008  11:06             5.810 vtkgdcmSerieViewer2.exp
> 28/01/2008  11:06           199.680 vtkgdcmserieviewer2.idb
> 28/01/2008  11:06            10.868 vtkgdcmSerieViewer2.lib
> 28/01/2008  11:06            16.896 vtkgdcmViewer.exe
>  28/01/2008  11:06             5.798 vtkgdcmViewer.exp
> 28/01/2008  11:06           191.488 vtkgdcmviewer.idb
> 28/01/2008  11:06            10.646 vtkgdcmViewer.lib
> 28/01/2008  11:06            22.016 vtkgdcmViewer2.exe
>  28/01/2008  11:06            10.693 vtkgdcmViewer2.exp
> 28/01/2008  11:06           191.488 vtkgdcmviewer2.idb
> 28/01/2008  11:06            18.934 vtkgdcmViewer2.lib
> 28/01/2008  11:06            18.432 vtkWriteDicom.exe
>  28/01/2008  11:06            10.272 vtkWriteDicom.exp
> 28/01/2008  11:06           166.912 vtkwritedicom.idb
> 28/01/2008  11:06            18.168 vtkWriteDicom.lib
> 28/01/2008  11:06            25.088 vtkWriteDicomExtended.exe
>  28/01/2008  11:06            10.288 vtkWriteDicomExtended.exp
> 28/01/2008  11:06           166.912 vtkwritedicomextended.idb
> 28/01/2008  11:06            18.632 vtkWriteDicomExtended.lib
> 28/01/2008  11:06           401.408 _gdcm.dll
>  28/01/2008  11:06               552 _gdcm.exp
> 28/01/2008  11:06           240.640 _gdcm.idb
> 28/01/2008  11:06             1.684 _gdcm.lib
>
>
> Thanks,
> Paulo
>
>
>
> 2008/1/28, Mathieu Malaterre <mathieu.malaterre at gmail.com>:
>
> > Hi Paulo,
> >
> >   This should be fixed. Please try again with after a cvs update.
> >
> > Thanks
> > -Mathieu
> >
> > On Jan 28, 2008 1:16 PM, Paulo Henrique Junqueira Amorim
> > <paulojamorim at gmail.com> wrote:
> > > Hi,
> > >
> > > I am update my cvs and compile one but showed error, Are anexed log
> > >
> > > Again compiled vtk and gdcm on VC++ 2005
> > >
> > >
> > > Generated only those files,
> > >
> > > 28/01/2008  10:03            19.456 bmp2dcm.idb
> > >  28/01/2008  10:02           675.840 gdcm.dll
> > > 28/01/2008  10:02           237.333 gdcm.exp
> > > 28/01/2008  10:02           510.976 gdcm.idb
> > > 28/01/2008  10:02           384.830 gdcm.lib
> > > 28/01/2008  10:02           135.168 gdcmjpeg12.dll
> > >  28/01/2008  10:02            20.623 gdcmjpeg12.exp
> > > 28/01/2008  10:02           166.912 gdcmjpeg12.idb
> > > 28/01/2008  10:02            35.368 gdcmjpeg12.lib
> > > 28/01/2008  10:02           135.168 gdcmjpeg16.dll
> > > 28/01/2008  10:02            20.623 gdcmjpeg16.exp
> > >  28/01/2008  10:02           166.912 gdcmjpeg16.idb
> > > 28/01/2008  10:02            35.368 gdcmjpeg16.lib
> > > 28/01/2008  10:02           135.168 gdcmjpeg8.dll
> > > 28/01/2008  10:02            20.268 gdcmjpeg8.exp
> > > 28/01/2008  10:02           166.912 gdcmjpeg8.idb
> > >  28/01/2008  10:02            34.648 gdcmjpeg8.lib
> > > 28/01/2008  10:02            90.112 gdcmopenjpeg.dll
> > > 28/01/2008  10:02             2.941 gdcmopenjpeg.exp
> > > 28/01/2008  10:02           297.984 gdcmopenjpeg.idb
> > >  28/01/2008  10:02             5.840 gdcmopenjpeg.lib
> > > 28/01/2008  10:03           147.456 vtkgdcm.dll
> > > 28/01/2008  10:03            37.104 vtkgdcm.exp
> > > 28/01/2008  10:03           338.944 vtkgdcm.idb
> > > 28/01/2008  10:03            61.916 vtkgdcm.lib
> > >  28/01/2008  10:03            16.896 vtkgdcmdemo.exe
> > > 28/01/2008  10:03             5.794 vtkgdcmdemo.exp
> > > 28/01/2008  10:03           216.064 vtkgdcmdemo.idb
> > > 28/01/2008  10:03            10.496 vtkgdcmdemo.lib
> > > 28/01/2008  10:03            22.528 vtkgdcmPython.dll
> > >  28/01/2008  10:03               592 vtkgdcmPython.exp
> > > 28/01/2008  10:03           412.672 vtkgdcmpython.idb
> > > 28/01/2008  10:03             1.898 vtkgdcmPython.lib
> > > 28/01/2008  10:03            27.136 vtkgdcmSerieViewer.exe
> > >  28/01/2008  10:03             5.809 vtkgdcmSerieViewer.exp
> > > 28/01/2008  10:03           207.872 vtkgdcmserieviewer.idb
> > > 28/01/2008  10:03            10.838 vtkgdcmSerieViewer.lib
> > > 28/01/2008  10:03            27.136 vtkgdcmSerieViewer2.exe
> > >  28/01/2008  10:03             5.810 vtkgdcmSerieViewer2.exp
> > > 28/01/2008  10:03           199.680 vtkgdcmserieviewer2.idb
> > > 28/01/2008  10:03            10.868 vtkgdcmSerieViewer2.lib
> > > 28/01/2008  10:03            16.896 vtkgdcmViewer.exe
> > >  28/01/2008  10:03             5.798 vtkgdcmViewer.exp
> > > 28/01/2008  10:03           191.488 vtkgdcmviewer.idb
> > > 28/01/2008  10:03            10.646 vtkgdcmViewer.lib
> > > 28/01/2008  10:03            22.016 vtkgdcmViewer2.exe
> > >  28/01/2008  10:03            10.693 vtkgdcmViewer2.exp
> > > 28/01/2008  10:03           191.488 vtkgdcmviewer2.idb
> > > 28/01/2008  10:03            18.934 vtkgdcmViewer2.lib
> > > 28/01/2008  10:03            18.432 vtkWriteDicom.exe
> > >  28/01/2008  10:03            10.272 vtkWriteDicom.exp
> > > 28/01/2008  10:03           166.912 vtkwritedicom.idb
> > > 28/01/2008  10:03            18.168 vtkWriteDicom.lib
> > > 28/01/2008  10:03            25.088 vtkWriteDicomExtended.exe
> > >  28/01/2008  10:03            10.288 vtkWriteDicomExtended.exp
> > > 28/01/2008  10:03           166.912 vtkwritedicomextended.idb
> > > 28/01/2008  10:03            18.632 vtkWriteDicomExtended.lib
> > > 28/01/2008  10:03           401.408 _gdcm.dll
> > >  28/01/2008  10:03               552 _gdcm.exp
> > > 28/01/2008  10:03           240.640 _gdcm.idb
> > >
> > >
> > >
> > > Thanks
> > > Paulo
> > >
> > >
> > > 2008/1/27, Paulo Henrique Junqueira Amorim <paulojamorim at gmail.com>:
> > >
> > > > Hi,
> > > >
> > > > I will follow their tips and  compile again.
> > > >
> > > > Thank you,
> > > > Paulo Amorim
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 2008/1/27, Mathieu Malaterre <mathieu.malaterre at gmail.com>:
> > > > > Congratulation Paulo ! You just found your first bug in GDCM !
> > > > >
> > > > > This is fixed in the current CVS HEAD of GDCM. Please update your
> > > > > copy, by doing a cvs update.
> > > > >
> > > > > Sorry for the troubles,
> > > > > -Mathieu
> > > > >
> > > > > Ref:
> > > > > $ cvs ci -m"COMP: Fix compilation on Win32 thanks to Paulo for
> report"
> > > > > Checking in vtkImageColorViewer.h;
> > > > > /cvs/public/gdcm/vtk/vtkImageColorViewer.h,v  <--
> vtkImageColorViewer.h
> > > > > new revision: 1.2; previous revision: 1.1
> > > > > done
> > > > > Checking in vtkImageMapToWindowLevelColors2.h;
> > > > > /cvs/public/gdcm/vtk/vtkImageMapToWindowLevelColors2.h,v  <--
> > > > > vtkImageMapToWindowLevelColors2.h
> > > > > new revision: 1.2; previous revision: 1.1
> > > > > done
> > > > >
> > > > > On Jan 27, 2008 9:43 PM, Paulo Henrique Junqueira Amorim
> > > > > <paulojamorim at gmail.com> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I selected to vtk Release.
> > > > > >
> > > > > > I am new compile of the gdcm with Release and  new error atached.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2008/1/27, Mathieu Malaterre <mathieu.malaterre at gmail.com>:
> > > > > >
> > > > > > > Ok so you decided to select: RelWithDebInfo for GDCM. What did
> you
> > > > > > > selected for VTK ?
> > > > > > >
> > > > > > > On Jan 27, 2008 9:27 PM, Paulo Henrique Junqueira Amorim
> > > > > > > <paulojamorim at gmail.com> wrote:
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > I am attached file with errors, compile the gdcm.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > > Paulo
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Mathieu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Mathieu
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
> > --
> > Mathieu
> >
>
>



-- 
Mathieu



More information about the Dcmlib mailing list