Hi Isha, Could it be that you are compiling against the latest rev of DCMTK? When I upgraded to use DCMTK 3.6.1 I found I needed to add extra libs to the link line of the DCMTK plugin.
I have checked the changes into OSG svn/trunk, and they are also part of the 2.9.15 dev release made last week that fix the build against the latest rev of DCMTK. You could compare the src/osgPlugins/dicom/CMakeLists.txt and CmakeModiules/FindOurDCMTK.cmake from 2.8.4 and the equivilant files in svn/trunk to see what changes I had to make. Alternatively just move to the svn/trunk or 2.9.15 dev release of the OSG. Robert. On Tue, Jun 7, 2011 at 3:49 PM, Isha Kandaswamy <[email protected]> wrote: > Hi, > > I am a student, and am very interested in osg. This is the first time i am > using it. > I was trying to create a volume from a set of dicom files, using the > osgvolume. I installed the dcmtk, and then configured the cmake for osg 2.8.4 > to get those files.. > > for example : i set the include dir to /usr/local/include > and the others to usr/local/include/dcmtk/ .... > > I did the make and the make install... and then when I try to use osgvolume > to read even a single dicom file, it refuses... this is the error I get, > > Warning: dynamic library '/usr/local/lib/osgPlugins-2.8.4/osgdb_dicom.so' > exists, but an error occurred while trying to open it: > /usr/local/lib/osgPlugins-2.8.4/osgdb_dicom.so: undefined symbol: > _ZNK9log4cplus6Logger12isEnabledForEi > Warning: Could not find plugin to read objects from file > "/home/bin/1.2.392.200036.9116.2.2.dcm". > Segmentation fault > > I do not understand how to fix this.. Can some one please explain what I am > doing wrong? > > > ... > > Thank you! > > Cheers, > RC > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=40169#40169 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

