Building dcmtk on Snow Leopard 64 bit

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
csharma
Posts: 1
Joined: Fri, 2010-05-21, 19:16

Building dcmtk on Snow Leopard 64 bit

#1 Post by csharma »

This is an error I get on building dcmtk 3.5.4 p 2_1 under macports
on Snow Leopard.

Please let me know if I can figure out the same. Do I have to reinstall
ZLib.

Undefined symbols:
"_deflate", referenced from:
DcmZLibOutputFilter::compress(void const*, unsigned int, bool)in libdcmdata.a(dcostrmz.o)
DcmZLibOutputFilter::compress(void const*, unsigned int, bool)in libdcmdata.a(dcostrmz.o)
"_deflateEnd", referenced from:

best regards,
Cartik

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#2 Post by Michael Onken »

Hi,

we did not try original dcmtk release 3.5.4 (with patch) on Snow Leopard. I recommend you to download the current snapshot of DCMTK and compile that on Snow Leopard.

Configure DCMTK without threads. (./configure --disable-threads).

If you want to stick with 3.5.4, try re-installing ZLIB (however, I think the one coming with Snow Leopard should be fine) or try compiling with ZLIB disabled (./configure --without-zlib I think).

Best regards,
Michael

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest