I have successfully used DCMTK 3.5.3 over the past 2 years on both Windows and MacOSX, but am having trouble with DCMTK 3.5.4 on MacOSX (Windows works fine). To use DCMTK on Mac I have always downloaded the source and followed the install instructions for UNIX (./configure, make, etc). When I try this with DCMTK 3.5.4 source, the executables and librarys build fine, but don't work properly. dcmdump, for example, cannot properly decode any of the fields of a standard DICOM file. It looks like it could possibly be a byte order problem. I am using gcc 4.0.1 and have tried building with threads enabled and threads disabled, with the same results.
Any thoughs on this would be greatly appreciated
Paul
Building DCMTK 3.5.4 on MacOSX 10.4.5
Moderator: Moderator Team
-
- Posts: 3
- Joined: Tue, 2006-02-28, 16:51
- Location: Atlanta, USA
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
-
- Posts: 3
- Joined: Tue, 2006-02-28, 16:51
- Location: Atlanta, USA
-
- Posts: 3
- Joined: Tue, 2006-02-28, 16:51
- Location: Atlanta, USA
Hi Michael,
I believe I have figured out the problem I was having on the Mac. After running dcmdump with the -d option, I saw that the 'DCMDICPATH' environment variable was not set. Once I set this to point to the DCMTK data dictionary, everything worked fine. I did not use this environment variable at all when I used DCMTK 3.5.3, and I still have not used it on Windows for 3.5.4. I assume this should be set to point to the data dictionary as a standard practice.
Regards
Paul
I believe I have figured out the problem I was having on the Mac. After running dcmdump with the -d option, I saw that the 'DCMDICPATH' environment variable was not set. Once I set this to point to the DCMTK data dictionary, everything worked fine. I did not use this environment variable at all when I used DCMTK 3.5.3, and I still have not used it on Windows for 3.5.4. I assume this should be set to point to the data dictionary as a standard practice.
Regards
Paul
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi Paul,
ok, then I won't have to check that. If you do a "make install" on your Mac, everything is copied to /usr/local/dicom and the DCMTK tools etc. are looking into this directory per default when searching for the dictionary. You can modify the installation directory during configuration time, using the --prefix option from the configure script.
Regards,
Michael
ok, then I won't have to check that. If you do a "make install" on your Mac, everything is copied to /usr/local/dicom and the DCMTK tools etc. are looking into this directory per default when searching for the dictionary. You can modify the installation directory during configuration time, using the --prefix option from the configure script.
Regards,
Michael
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest