[Dcmlib] Mingw + dcgm ver0.6

Mathieu Malaterre mathieu.malaterre at kitware.com
Mon Jan 31 21:20:40 CET 2005


Michal Kurgan wrote:
> Hello!
> I try to crosscompile gdcm 0.6 but have some problems.
> First with <netinet/in.h> header, I resolved it ( mingw should be tested in 
> gdcmDocument.cxx, it is corrected in cvs version ).
> Next during linking libgdcmjpeg8.so i have many unresolved reference ie.
> 
> jerror.o(.text+0x1bb9):jerror.c: undefined reference to 
> `_imp__gdcm_jpeg8_jpeg_destroy'
> jmemmgr.o(.text+0x154):jmemmgr.c: undefined reference to 
> `_imp__gdcm_jpeg8_jpeg_get_small'
> jmemmgr.o(.text+0x29c):jmemmgr.c: undefined reference to 
> `_imp__gdcm_jpeg8_jpeg_get_large'
> 
> I don't know what to do next.
> I use Gentoo Distibution and native linux compilation was successful.
> 
> Maybe i missed some ccmake options but i don't know what option.

Hum, this looks like a cmake issue rather than a gdcm issue, since gdcm 
compile fine on a great variety of Win32 compiler.

Anyway, is there a way to reproduce your step on my linux debian machine 
here. I am not familiar with the toolchain to cross compile.

Thanks for any clue,
Mathieu



More information about the Dcmlib mailing list