[Midas] dicom plugin (dcmtk build error)

j at dicomfly.com j at dicomfly.com
Fri May 27 10:17:00 EDT 2011


Hi,
   building dcmtk (following midaswiki/plugins:dicom)something goes wrong
(error listed below).
Any advice?

Thanks in advance...

J

[ 26%] Building CXX object dcmqrdb/libsrc/CMakeFiles/dcmqrdb.dir/dcmqrsrv.o
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h: In member function
'OFCondition DcmQueryRetrieveSCP::dispatch(T_ASC_Association*, bool)':
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h:91: error:
'mws::WebAPI::WebAPI()' is protected
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:177: error:
within this context
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h:92: error:
'mws::WebAPI::~WebAPI()' is protected
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:177: error:
within this context
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:180: error:
'class mws::WebAPI' has no member named 'LoginWithPassword'
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:184: error:
cannot declare variable 'dicomDataObject' to be of abstract type
'mdo::Dicom'
/home/jvps/src/R3/MIDAScpp-src/Code/mdoDicom.h:23: note:   because the
following virtual functions are pure within 'mdo::Dicom':
/home/jvps/src/R3/MIDAScpp-src/Code/mdoObject.h:56: note:       virtual
void mdo::Object::Clear()
/home/jvps/src/R3/MIDAScpp-src/Code/mdoObject.h:57: note:       virtual
std::string& mdo::Object::GetName()
/home/jvps/src/R3/MIDAScpp-src/Code/mdoObject.h:58: note:       virtual
std::string mdo::Object::GetTypeName()
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h:91: error:
'mws::WebAPI::WebAPI()' is protected
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:255: error:
within this context
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h:92: error:
'mws::WebAPI::~WebAPI()' is protected
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:255: error:
within this context
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:258: error:
'class mws::WebAPI' has no member named 'LoginWithPassword'
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:265: error:
'class mws::Item' has no member named 'CreateResource'
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h: In member function
'OFCondition DcmQueryRetrieveSCP::storeSCP(T_ASC_Association*,
T_DIMSE_C_StoreRQ*, T_ASC_PresentationContextID,
DcmQueryRetrieveDatabaseHandle&, bool)':
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h:91: error:
'mws::WebAPI::WebAPI()' is protected
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:526: error:
within this context
/home/jvps/src/R3/MIDAScpp-src/Code/mwsWebAPI.h:92: error:
'mws::WebAPI::~WebAPI()' is protected
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:526: error:
within this context
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:529: error:
'class mws::WebAPI' has no member named 'LoginWithPassword'
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:532: error:
invalid conversion from 'int' to 'const char*'
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:532: error:  
initializing argument 1 of 'virtual const char*
mdo::ProxyInterface::UploadBitstream(const char*, const char*)'
/home/jvps/src/R3/dcmtk-3.5.5/dcmqrdb/libsrc/dcmqrsrv.cc:532: error:
invalid conversion from 'const char*' to 'int'
make[2]: *** [dcmqrdb/libsrc/CMakeFiles/dcmqrdb.dir/dcmqrsrv.o] Error 1
make[1]: *** [dcmqrdb/libsrc/CMakeFiles/dcmqrdb.dir/all] Error 2
make: *** [all] Error 2





More information about the Midas mailing list