How to : Install DCMTK for Volume Rendering

Present3D Help

 

 

Installing DCMTK on OS X to enable loading of DICOM files

 

 

Option 1 :

Install from MacPorts. This is easy and it usually works. Currently the Fink version seems to be broken.

Remember you will need to add the relevant paths to your .tcshrc file. Closing the sidebar (small arrow above) will make it easier to read this bit)

 

setenv PATH /usual_stuff_here/opt/local/bin:/opt/local/lib:/opt/local/include:/opt/local/share:/opt/local/sbin:${PATH}

 

and you will need to add a environmental variable to set the path to the dicom.dic file :

 

setenv DCMDICTPATH /opt/local/lib/dicom.dic 

 

Info on this here :

osg-users [at] lists [dot] openscenegraph [dot] org/msg22776.html">http://www.mail-archive.com/osg-users [at] lists [dot] openscenegraph [dot] org/msg22776.html

http://www.mevis-research.de/~meyer/dcmtk/docs_352/dcmdata/datadict.txt

 

Current Issues :

 

When building the OSG, cmake reports the following missing files :

 

     DCMTK_imagedb_INCLUDE_DIR-NOTFOUND 

     DCMTK_imagedb_LIBRARY-NOTFOUND 

 

These files are no longer required by the current version of DCMTK 3.5.4

 

 

 

 

Option 2 :

 

Download the source and compile yourself :

 

If you choose to do this, then these pages might help :

 

http://forum.dcmtk.org/viewtopic.php?t=1372

How to : Create DCMTK OSX Universal Binary

 

Good luck :-)