Your message dated Mon, 22 Nov 2021 11:17:37 +0100
with message-id 
<ca+7wusz_-twho1oqyuumvjlvtwhdpeqbqmuxrafu7svcps9...@mail.gmail.com>
and subject line libdcmtk2-dev: Dcmtk headers cause compile failure
has caused the Debian Bug report #637687,
regarding libdcmtk2-dev: Dcmtk headers cause compile failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
637687: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637687
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdcmtk2-dev
Version: 3.6.0-7
Severity: normal

This possibly my misunderstanding, but it seems that DCMTK headers in debian
cannot easily be used for development.  The following test program fails:

#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/ofstream.h"
int main () { }

With the following error:

/usr/include/dcmtk/ofstd/ofstream.h:67:22: fatal error: iostream.h: No such
file or directory

It would seem that one needs to workaround, as this:

#define HAVE_CONFIG_H
#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/ofstream.h"
int main () { }



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdcmtk2-dev depends on:
ii  libdcmtk2                     3.6.0-7    OFFIS DICOM toolkit runtime librar

libdcmtk2-dev recommends no packages.

Versions of packages libdcmtk2-dev suggests:
pn  dcmtk-doc                     <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Control: fixed -1 3.6.6-2

A side effect of compiling DCMTK with:DCMTK_ENABLE_STL:BOOL=ON seems
to have solved that issue.

Closing a 10 years old bug :)

--- End Message ---

Reply via email to