[osg-users] ReaderWriterDICOM : build error
Adrian Egli OpenSceneGraph (3D)
3dhelp at gmail.com
Fri Nov 27 09:20:21 PST 2009
Hi Robert,
I tried to fix the ReaderWriterDicom.cpp , if USE_ITK is set
the the virtual ReadResult readImage(const std::string& file, const
osgDB::ReaderWriter::Options* options) const cause a build error \
Error 1 error C2065: 'result' : undeclared identifier
f:\dev\OpenSceneGraph\OpenSceneGraphSVN\src\osgPlugins\dicom\ReaderWriterDICOM.cpp
316
Error 2 error C2228: left of '.getImage' must have
class/struct/union
f:\dev\OpenSceneGraph\OpenSceneGraphSVN\src\osgPlugins\dicom\ReaderWriterDICOM.cpp
316
Error 3 error C2227: left of '->getUserData' must point to
class/struct/union/generic type
f:\dev\OpenSceneGraph\OpenSceneGraphSVN\src\osgPlugins\dicom\ReaderWriterDICOM.cpp
316
Error 4 error C2228: left of '.getImage' must have
class/struct/union
f:\dev\OpenSceneGraph\OpenSceneGraphSVN\src\osgPlugins\dicom\ReaderWriterDICOM.cpp
365
Error 5 error C2227: left of '->getUserData' must point to
class/struct/union/generic type
f:\dev\OpenSceneGraph\OpenSceneGraphSVN\src\osgPlugins\dicom\ReaderWriterDICOM.cpp
365
The problem is that i don't correct understand what you would like to get
throught user data. But we need to define result . it's defined within a for
loop. but how can we fix it?
/adrian
MSVC 2005
--
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091127/d6898841/attachment.htm>
More information about the osg-users
mailing list