[Dcmlib] Re: [Fwd: Re: Borland 6]

Mathieu Malaterre mathieu.malaterre at kitware.com
Sat Jun 4 15:54:48 CEST 2005


Luca,

   Are you suscribed to the gdcm mailing list ? I send a mail late last night saying that I had jasper compiled in shared lib mode. Could you give it a try with your compiler ?

Thanks
Mathieu

> Sorry Mathieu, how stupid I am!!!!
> I added to project libraries ONLY vtkgdcm.lib forgetting the rest ...
> Now it fully compiles but... not work (see screenshot).
> It is probably not an issue of your library but it is probably caused by 
> StlPort which has some problems compiling in static mode...
> I have exactly same error while compiling VTK in static mode (that's why 
> I always use dynamic libraries).
> StlPort in BCB6 is quite old: they do not update it from long long time 
> but due to complexity and time needed to make it by myself I lost the 
> update idea.
> Hope we can have new gdcm as dynamic library, it will be the best way 
> for developers using BCB6 (at least for me ;-)
> 
> Ciao,
> Luca
> 
> 
> 
> 
> -------- Original Message --------
> Subject: 	Re: Borland 6
> Date: 	Sat, 04 Jun 2005 11:46:47 +0200
> From: 	Luca Picello <luca.picello at libero.it>
> To: 	Mathieu Malaterre <mathieu.malaterre at kitware.com>
> References: 	<200506040124.j541OF2P011598 at tux.creatis.insa-lyon.fr> 
> <9ee50678666ec8c5fd54f5fa8c737641 at kitware.com>
> 
> 
> 
> Mathieu,
> I downloaded latest CVS but it has to be modified to make it run with 
> BCB6 due it's improved compliance to ANSI C++ (they changed, added and 
> modified header files and STL library moving from RogueWave to StlPort ).
> So I updated gdcmCommon.h. I tried to make it compatible with old free 
> compiler too....
> 
> #if defined(__BORLANDC__)
> #if (__BORLANDC__ < 0x0560)
> #define OLD_BORLANDC
> #endif
> #endif
> 
> // Broken plateform do not respect C99 and do not provide those typedef
> #if defined(_MSC_VER) || defined( OLD_BORLANDC ) || defined(__MINGW32__)
> typedef  signed char         int8_t;
> typedef  signed short        int16_t;

> typedef  signed int          int32_t;
> typedef  unsigned char       uint8_t;
> typedef  unsigned short      uint16_t;
> typedef  unsigned int        uint32_t;
> #define UINT32_MAX    (4294967295U)
> #endif
> 
> #if defined(__BORLANDC__)
> #if !defined(OLD_BORLANDC)
>   #include <stdint.h>
>   #include <ctype.h>
>   #include <stdlib.h>
>   #include <windows.h>
> #endif
> #endif
> 
> However even compiling in static library mode, I have following linker 
> errors (check the attachment. ignore warnings).
> 
> Ciao,
> Luca
> 
> 
> 
> 
> Mathieu Malaterre wrote:
> 
> > Luca,
> >
> >   Could you do me a huge favor :) could you give another try to gdcm 
> > CVS (head) and compile it (from scratch remove any old binaries you 
> > would have). I believe it should compile for you (at least in static 
> > libary, not shared).
> >
> > Thanks for report
> > Mathieu
> > Ps: My next task is shared lib of jasper on Win32 ...
> >
> > .
> >
> 
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: static_libraries_hangs_in_bcb6.JPG
Type: image/jpeg
Size: 157255 bytes
Desc: not available
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050604/af953800/attachment.jpe>


More information about the Dcmlib mailing list