[osg-users] Building DICOM plugin with DCMTK

Robert Osfield robert.osfield at gmail.com
Thu Apr 7 01:56:10 PDT 2011


Hi Chris,

I don't have any answers as I've only built DCMTK under OSX and Linux.
 There is a DCMTK community that is likely to be a good place to look
up an answer to these problems.

I would recommend using DCMTK over ITK, as DCMTK supports Dicom features better.

Robert.

On Wed, Apr 6, 2011 at 6:48 PM, Chris 'Xenon' Hanson
<xenon at alphapixel.com> wrote:
>  I'm investigating osgVolume and the DICOM plugin for a client, and am having trouble
> building the DICOM plugin on Windows, VC++2008 (SVN trunk from a couple months back:
> 12159, 5:11:17 AM, Friday, February 11, 2011). I built dcmtk-3.6.0 successfully, and then
> configured all the DCMTK include and lib settings in CMake.
>
>  For example:
> DCMTK_dcmdata_INCLUDE_DIR = C:/Data/OSGDev/Volume/dcmtk-3.6.0/dcmtk-3.6.0/dcmdata/include
>
> I presume all of them are necessary. I then generated the solution.
>
>
>  When I go to build ReaderWriterDICOM.cpp, it fails with:
> 1>.\ReaderWriterDICOM.cpp(27) : fatal error C1083: Cannot open include file:
> 'dcmtk/dcmdata/dcfilefo.h': No such file or directory
>
>  I have the file:
> C:\Data\OSGDev\Volume\dcmtk-3.6.0\dcmtk-3.6.0\dcmdata\include\dcmtk\dcmdata\dcfilefo.h
>
>
>  In the Additional Include Directories for the Plugins Dicom Project in VC++ I see:
> C:\Data\OSGDev\Volume\dcmtk-3.6.0\dcmtk-3.6.0\include
>
>  But I don't see any include for
> C:\Data\OSGDev\Volume\dcmtk-3.6.0\dcmtk-3.6.0\dcmdata\include
> which should have been DCMTK_dcmdata_INCLUDE_DIR
>
>
>  Has anyone built the DICOM plugin on Windows recently? Am I missing something dumb?
>
>  I'm not actually married to the DICOM plugin, it just seems like that's the only way to
> get any sample volume data into osgVolume so I can test what I'm really after. If there's
> a sample dataset someone can point me to that wouldn't necessitate using the DICOM plugin,
> I'd be happy to avoid the issue altogether.
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com http://www.alphapixel.com/
>  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting.
>    "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list