Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile problem with dcmtk 3.6.0 #1

Open
nolden opened this issue Dec 11, 2012 · 0 comments
Open

compile problem with dcmtk 3.6.0 #1

nolden opened this issue Dec 11, 2012 · 0 comments

Comments

@nolden
Copy link
Owner

nolden commented Dec 11, 2012

Tried to backport the latest dcm.cc, this is the result:

[ 70%] Building CXX object Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkscu.cc.o
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::initNetwork()’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:120:12: error: ‘NET_EC_AlreadyConnected’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:262:12: error: ‘NET_EC_NoPresentationContextsDefined’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::negotiateAssociation()’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:274:12: error: ‘NET_EC_AlreadyConnected’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:314:12: error: ‘NET_EC_NoAcceptablePresentationContexts’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘T_ASC_PresentationContextID DcmSCU::findPresentationContextID(const OFString&, const OFString&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:379:45: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:380:36: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:387:59: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘T_ASC_PresentationContextID DcmSCU::findAnyPresentationContextID(const OFString&, const OFString&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:413:45: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:414:36: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:421:59: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:427:45: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:428:36: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:435:59: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:441:45: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:442:36: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:448:59: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘void DcmSCU::findPresentationContext(T_ASC_PresentationContextID, OFString&, OFString&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:474:45: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:475:36: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:488:47: warning: use of old-style cast [-Wold-style-cast]
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendECHORequest(T_ASC_PresentationContextID)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:598:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:624:9: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:629:7: error: ‘DU_cechoStatusString’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendSTORERequest(T_ASC_PresentationContextID, const OFString&, DcmDataset*, Uint16&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:759:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:787:9: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendMOVERequest(T_ASC_PresentationContextID, const OFString&, DcmDataset*, OFList<RetrieveResponse*>*)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:856:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:888:11: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendCGETRequest(T_ASC_PresentationContextID, DcmDataset*, OFList<RetrieveResponse*>*)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1059:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::handleCGETSession(T_ASC_PresentationContextID, DcmDataset*, OFList<RetrieveResponse*>*)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1106:11: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1147:11: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendSTOREResponse(T_ASC_PresentationContextID, Uint16, const T_DIMSE_C_StoreRQ&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1397:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendFINDRequest(T_ASC_PresentationContextID, DcmDataset*, OFList<QRResponse*>*)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1499:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1530:11: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendCANCELRequest(T_ASC_PresentationContextID)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1669:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendACTIONRequest(T_ASC_PresentationContextID, const OFString&, Uint16, DcmDataset*, Uint16&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1727:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1757:9: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::sendEVENTREPORTRequest(T_ASC_PresentationContextID, const OFString&, Uint16, DcmDataset*, Uint16&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1852:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1881:9: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘virtual OFCondition DcmSCU::handleEVENTREPORTRequest(DcmDataset*&, Uint16&, int)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:1972:9: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:2007:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:2036:7: error: ‘DCM_dcmnetLogger’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc: In member function ‘OFCondition DcmSCU::getDatasetInfo(DcmDataset*, OFString&, OFString&, E_TransferSyntax&)’:
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:2374:16: error: ‘NET_EC_InvalidSOPClassUID’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:2376:16: error: ‘NET_EC_InvalidSOPInstanceUID’ was not declared in this scope
/home/marco/ctk/src/Libs/DICOM/Core/ctkscu.cc:2378:16: error: ‘NET_EC_UnknownTransferSyntax’ was not declared in this scope
make[2]: *** [Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/ctkscu.cc.o] Error 1
make[2]: Target `Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/build' not remade because of errors.
make[1]: *** [Libs/DICOM/Core/CMakeFiles/CTKDICOMCore.dir/all] Error 2
make[1]: Target `all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant