FAQ #28: Compilation of DCMTK fails with error C2679 [MSVC 6]

Frequently Asked Questions regarding DCMTK

Moderator: FAQ Team

Post Reply
Message
Author
Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1435
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

FAQ #28: Compilation of DCMTK fails with error C2679 [MSVC 6]

#1 Post by Marco Eichelberg »

:?: I am compiling DCMTK with Visual C++ 6.0 and compilation fails with error C2679 complaining about operator '<<':

Code: Select all

error C2679: binary '<<' : no operator defined which takes a right-hand 
operand of type 'class DcmTagKey' (or there is no acceptable conversion)
:!: This is a bug in Visual C++ 6.0. Install the latest service pack for Visual C++, and the error will be gone.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest