[Dcmlib] R: R: Re: GDCM with VTK5 ?

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed May 31 15:50:01 CEST 2006


Jean-Pierre ROUX wrote:
> At 21:17 +0200 30/05/06, <luca.picello at libero.it> wrote:
> 
>>Updates:
>>
>>hello folks. I've got good news.
>>I tried VTK latest cvs with gdcm latest cvs.
>>And they compile successfully with BSD2006 SP2, except the following files
>>where due of some missing includes.
>>(Also with TESTING=ON)
>>Just add them and that's it!
> 
> 
> 
> OK, Luca.
> I'll do it.
> Thx for your help.
> 
> Jean-Pierre
> 
> 
>>----------
>>
>>Z:\gdcm20060530\Example\ReWrite.cxx
>>Z:\gdcm20060530\Example\WriteRead.cxx
>>Z:\gdcm20060530\Testing\TestWriteSimple.cxx
>>Z:\gdcm20060530\Testing\TestImageSet.cxx
>>Z:\gdcm20060530\Testing\TestMakeIcon.cxx
>>Z:\gdcm20060530\Testing\TestAllReadCompareDicom.cxx
>>Z:\gdcm20060530\Testing\TestReadWriteReadCompare.cxx
>>
>>#ifdef __BORLANDC__
>>#include <mem.h>
>>#endif

JP,

	Put that in gdcmCommon.h so that Luca does not have to go after any of 
our change. I don't think this is a problem, since it will only include 
a file for borland which should be fairly minimal.
	If you put it in gdcmCommon.h remove the other occurences accross the code.

	The stdlib.h problem is different, stdlib is a definition in POSIX and 
should be included any time we use any of the function defined i nthis 
header. So this one should on be included where appropriate.

2 cents,
Mathieu



More information about the Dcmlib mailing list