<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Dear GDCM developers and user,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">I am new to GDCM. I tried to first make a small Eclipse project to read the DICOM header file but when I built my program, I got the error message attached in the bottom of this email. I think the problem related to gdcmJpeg8, gdcmJpeg12, and gdcmJpeg16 linker, but I don't know how to solve it.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent;
font-style: normal; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">I have put all these libraries name in MingGW linker - libraries -l, through the "Properties" of the project:</div><div style="background-color: transparent; "><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">gdcmjpeg12,</font><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">wsock32,</span><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">gdcmjpeg16,</span><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">vtkgdcm,</span><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">gdcmopenjpeg,</span><span
style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">gdcmjpeg8,</span><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">snmpapi,</span><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">gdcm.</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; "><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; "><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal; "><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent; ">I have also put these paths in the </span><span
style="background-color: transparent; ">MingGW linker - libraries through the "Properties" of the project:</span></div><div style="background-color: transparent; "><span style="background-color: transparent; "><font face="times new roman, new york, times, serif"><div style="background-color: transparent; ">"C:\Program Files\GDCM\lib\gdcm"</div><div style="background-color: transparent; ">"C:\WINDOWS\system32"</div></font></span></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">To make it easier for you to diagnose my problem, here are the environment I use:</div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new
roman', 'new york', times, serif; color: rgb(0, 0, 0); ">- Eclipse Indigo Release 2</div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); ">- MinGW</div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); ">- GDCM v. 1.3.2</div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); ">- <span style="background-color: transparent; ">I generated the GDCM using CMake 2.8.9, WITHOUT, please underline "without" BUILD_SHARED_LIBS and BUILD_TESTING. Because if I used these 2, it will give me error messages in the "make".</span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new
roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; ">- Compiler tobe used for the CMake : MSYS, NOT, please underline "not" MinGW</span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; ">- I am on Windows XP, Professional version</span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; "><br></span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; ">Any help would be highly appreciated, and please see below for the error
messages.</span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; "><br></span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; ">Best Regards,</span></div><div style="background-color: transparent; font-style: normal; font-size: 16px; font-family: 'times new roman', 'new york', times, serif; color: rgb(0, 0, 0); "><span style="background-color: transparent; ">.Tanya.</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px;
color: rgb(0, 0, 0); background-color: transparent; font-style: normal; ">---The Error Messages :</div><div style="background-color: transparent; "><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x260): undefined reference to `gdcm_jpeg8_jpeg_resync_to_restart'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x566): undefined reference to `gdcm_jpeg8_jpeg_std_error'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x58a): undefined reference to `gdcm_jpeg8_jpeg_CreateCompress'</font></div><div style="background-color: transparent; "><font face="times new
roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x604): undefined reference to `gdcm_jpeg8_jpeg_set_defaults'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x622): undefined reference to `gdcm_jpeg8_jpeg_simple_lossless'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x63f): undefined reference to `gdcm_jpeg8_jpeg_set_quality'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x655): undefined reference to `gdcm_jpeg8_jpeg_start_compress'</font></div><div style="background-color:
transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x6c2): undefined reference to `gdcm_jpeg8_jpeg_write_scanlines'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x6fe): undefined reference to `gdcm_jpeg8_jpeg_finish_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x70c): undefined reference to `gdcm_jpeg8_jpeg_destroy_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x769): undefined reference to
`gdcm_jpeg8_jpeg_std_error'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x88b): undefined reference to `gdcm_jpeg8_jpeg_destroy_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x8b7): undefined reference to `gdcm_jpeg8_jpeg_CreateDecompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x91b): undefined reference to `gdcm_jpeg8_jpeg_read_header'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program
Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x961): undefined reference to `gdcm_jpeg8_jpeg_start_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0x9f7): undefined reference to `gdcm_jpeg8_jpeg_read_scanlines'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0xa56): undefined reference to `gdcm_jpeg8_jpeg_finish_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg8.obj):gdcmJpeg8.cxx:(.text+0xa74): undefined reference to `gdcm_jpeg8_jpeg_destroy_decompress'</font></div><div style="background-color: transparent; "><font face="times
new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x260): undefined reference to `gdcm_jpeg12_jpeg_resync_to_restart'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x566): undefined reference to `gdcm_jpeg12_jpeg_std_error'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x58a): undefined reference to `gdcm_jpeg12_jpeg_CreateCompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x604): undefined reference to `gdcm_jpeg12_jpeg_set_defaults'</font></div><div
style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x622): undefined reference to `gdcm_jpeg12_jpeg_simple_lossless'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x63f): undefined reference to `gdcm_jpeg12_jpeg_set_quality'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x655): undefined reference to `gdcm_jpeg12_jpeg_start_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x6c2): undefined reference to
`gdcm_jpeg12_jpeg_write_scanlines'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x700): undefined reference to `gdcm_jpeg12_jpeg_finish_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x70e): undefined reference to `gdcm_jpeg12_jpeg_destroy_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x76b): undefined reference to `gdcm_jpeg12_jpeg_std_error'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program
Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x88d): undefined reference to `gdcm_jpeg12_jpeg_destroy_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x8b9): undefined reference to `gdcm_jpeg12_jpeg_CreateDecompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x91d): undefined reference to `gdcm_jpeg12_jpeg_read_header'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x963): undefined reference to `gdcm_jpeg12_jpeg_start_decompress'</font></div><div style="background-color: transparent; "><font
face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0x9fb): undefined reference to `gdcm_jpeg12_jpeg_read_scanlines'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0xa5a): undefined reference to `gdcm_jpeg12_jpeg_finish_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg12.obj):gdcmJpeg12.cxx:(.text+0xa78): undefined reference to `gdcm_jpeg12_jpeg_destroy_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x260): undefined reference to
`gdcm_jpeg16_jpeg_resync_to_restart'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x566): undefined reference to `gdcm_jpeg16_jpeg_std_error'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x58a): undefined reference to `gdcm_jpeg16_jpeg_CreateCompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x604): undefined reference to `gdcm_jpeg16_jpeg_set_defaults'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program
Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x622): undefined reference to `gdcm_jpeg16_jpeg_simple_lossless'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x63f): undefined reference to `gdcm_jpeg16_jpeg_set_quality'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x655): undefined reference to `gdcm_jpeg16_jpeg_start_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x6c2): undefined reference to `gdcm_jpeg16_jpeg_write_scanlines'</font></div><div style="background-color: transparent; "><font
face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x700): undefined reference to `gdcm_jpeg16_jpeg_finish_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x70e): undefined reference to `gdcm_jpeg16_jpeg_destroy_compress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x76b): undefined reference to `gdcm_jpeg16_jpeg_std_error'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x88d): undefined reference to
`gdcm_jpeg16_jpeg_destroy_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x8b9): undefined reference to `gdcm_jpeg16_jpeg_CreateDecompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x91d): undefined reference to `gdcm_jpeg16_jpeg_read_header'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x963): undefined reference to `gdcm_jpeg16_jpeg_start_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program
Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0x9fb): undefined reference to `gdcm_jpeg16_jpeg_read_scanlines'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0xa5a): undefined reference to `gdcm_jpeg16_jpeg_finish_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">C:\Program Files\GDCM\lib\gdcm/libgdcm.a(gdcmJpeg16.obj):gdcmJpeg16.cxx:(.text+0xa78): undefined reference to `gdcm_jpeg16_jpeg_destroy_decompress'</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">Build error occurred, build is stopped</font></div><div style="background-color: transparent; "><font face="times new roman, new york, times, serif">Time consumed: 4187 ms.
</font></div></div></div></body></html>