I have problem to compile the example code for accessing compressed data:
http://support.dcmtk.org/wiki/dcmtk/how ... 1285158334
The compiler complains about:
Uint32 length = pixitem->getLength();
error C2027: use of undefined type 'DcmPixelItem'
error C2227: left of '->getLength' must point to class/struct/union/generic type
error C2027: use of undefined type 'DcmPixelItem'
Accessing Compressed Data
Moderator: Moderator Team
-
- Posts: 101
- Joined: Wed, 2009-07-08, 16:06
- Location: Oldenburg, Germany
Are you sure that you have included the header files in the following order?
Code: Select all
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/dcmdata/dctk.h"
#include "dcmtk/dcmdata/dcpxitem.h"
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests