Dear all,
I have successfully compiled dcmtk after the source code downloading. However, using my Makefile and my own program, I obtain a compilation error.
finalDCM.cpp: In function ‘int main()’:
finalDCM.cpp:13:53: error: ‘DCM_PatientsName’ was not declared in this scope
if (fileformat.getDataset()->findAndGetOFString(DCM_PatientsName, patientsName).good())
Using the forum remarks, I have checked all the libaries, headers and their respective order. The same program works on an older Red Hat version.
Any idea?
Use of DCMTK on Ubuntu 14.04
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2506
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Use of DCMTK on Ubuntu 14.04
The attribute names changed some years ago. DCMTK now uses the official keywords from DICOM part 6.
http://support.dcmtk.org/redmine/projec ... ionary2009
http://support.dcmtk.org/redmine/projec ... ionary2009
Re: Use of DCMTK on Ubuntu 14.04
Thanks for your answer. Now, I still have this error :
finalDCM.cpp:(.text+0x3a): référence indéfinie vers « OFFilename::OFFilename(char const*, bool) »
finalDCM.cpp:(.text+0x79): référence indéfinie vers « DcmFileFormat::loadFile(OFFilename const&, E_TransferSyntax, E_GrpLenEncoding, unsigned long, E_FileReadMode) »
finalDCM.cpp:(.text+0x8a): référence indéfinie vers « OFFilename::~OFFilename() »
finalDCM.cpp:(.text+0x230): référence indéfinie vers « OFFilename::~OFFilename() »
finalDCM.cpp:(.text+0x3a): référence indéfinie vers « OFFilename::OFFilename(char const*, bool) »
finalDCM.cpp:(.text+0x79): référence indéfinie vers « DcmFileFormat::loadFile(OFFilename const&, E_TransferSyntax, E_GrpLenEncoding, unsigned long, E_FileReadMode) »
finalDCM.cpp:(.text+0x8a): référence indéfinie vers « OFFilename::~OFFilename() »
finalDCM.cpp:(.text+0x230): référence indéfinie vers « OFFilename::~OFFilename() »
Who is online
Users browsing this forum: No registered users and 1 guest