Errors during adding dcmtk libs in project

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
ashajg
Posts: 30
Joined: Thu, 2018-10-11, 11:10

Errors during adding dcmtk libs in project

#1 Post by ashajg » Mon, 2018-11-12, 12:57

hi guys

while adding dcmtk libs in my project i am getting these errors
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:310: error: '::fopen64' has not been declared
file_ = :: fopen64(filename, modes);
^
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:425: error: '::freopen64' has not been declared
file_ = :: freopen64(filename, modes, file_);
^
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:444: error: '::tmpfile64' has not been declared
file_ = :: tmpfile64();
^
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:790: error: '::fseeko64' has not been declared
result = :: fseeko64(file_, off, whence);
^
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:823: error: '::ftello64' has not been declared
result = :: ftello64(file_);
^
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:847: error: '::fgetpos64' has not been declared
result = :: fgetpos64(file_, pos);
^
C:\Ashish\QTPROJECT\test\include\dcmtk\ofstd\offile.h:867: error: '::fsetpos64' has not been declared
result = :: fsetpos64(file_, pos);
^


how can i solve this?

J. Riesmeier
DCMTK Developer
Posts: 2284
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Errors during adding dcmtk libs in project

#2 Post by J. Riesmeier » Tue, 2018-11-13, 21:35

The question is: how did you add the DCMTK to your project?

In other words, without knowing more details, no one will be able to help you.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest