[Dcmlib] gdcmlib with mingw
Aris Basic
aris.basic at silencesoftware.com
Thu May 26 17:08:35 CEST 2005
dono but i managed to compile (CVS version) with mingw under windows (at
least core gdcm libs no test or examples)
will try to play some more with it (specialy with cross compile)
Mathieu Malaterre wrote:
> Aris,
>
> I cannot get it to even pass the c++ compilation:
>
> http://public.kitware.com/Public/Sites/CHIRON/Win32-make/20050526-1424-Experimental/BuildError.html
>
>
> mingw is using gcc, I don't understand why it is complaining...
>
> sigh
> Mathieu
>
> Aris Basic wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> has anyone managed to compile gdcm under mingw ?
>> i tryed compiling with mingw under windows and under linux(cross
>> compiling). And becasue cmake is not really cross compile friendly
>> it doesnt work on linux.
>> On windows under mingw i manage to compile it but i am unable to link it
>> to the rest fo the program
>> libgdcm is unable to link to libgdcmjpeg* functions.
>>
>> any idea how to fix that ?
>>
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x354):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_resync_to_restart'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x5c5):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_std_error'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x5e9):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_CreateCompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x632):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_set_defaults'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x64f):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_set_quality'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x665):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_start_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x6ba):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_write_scanlines'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x6ca):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_finish_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x6d8):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_destroy_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0x77b):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_std_error'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xa34):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_destroy_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xa71):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_CreateDecompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xae7):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_read_header'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xb33):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_start_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xc01):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_read_scanlines'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xc78):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_finish_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg16.o)(.text+0xc9b):gdcmJpeg16.cxx:
>>
>> undefined reference to `_gdcm_jpeg16_jpeg_destroy_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x354):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_resync_to_restart'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x5c5):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_std_error'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x5e9):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_CreateCompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x632):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_set_defaults'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x64f):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_set_quality'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x665):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_start_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x6ba):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_write_scanlines'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x6ca):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_finish_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x6d8):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_destroy_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0x77b):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_std_error'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xa34):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_destroy_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xa71):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_CreateDecompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xae7):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_read_header'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xb33):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_start_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xc01):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_read_scanlines'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xc78):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_finish_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg12.o)(.text+0xc9b):gdcmJpeg12.cxx:
>>
>> undefined reference to `_gdcm_jpeg12_jpeg_destroy_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x354):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_resync_to_restart'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x5c5):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_std_error'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x5e9):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_CreateCompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x632):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_set_defaults'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x64f):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_set_quality'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x665):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_start_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x6b8):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_write_scanlines'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x6c8):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_finish_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x6d6):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_destroy_compress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0x779):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_std_error'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xa32):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_destroy_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xa6f):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_CreateDecompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xae5):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_read_header'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xb31):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_start_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xbfd):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_read_scanlines'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xc74):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_finish_decompress'
>> /home/aris/source/projects/win32/lib/libgdcm.a(gdcmJpeg8.o)(.text+0xc97):gdcmJpeg8.cxx:
>>
>> undefined reference to `_gdcm_jpeg8_jpeg_destroy_decompress'
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>>
>> iD8DBQFClQqlSxHd9YgswYMRAraqAJ9OiNVqSxtV7p5rjp8ITKvc4DH4mACcCKfn
>> ZeYd86zATYnujTjTYeHBqHo=
>> =i+SJ
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> Dcmlib mailing list
>> Dcmlib at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>>
>
More information about the Dcmlib
mailing list