[Debian-med-packaging] Bug#637687: libdcmtk2-dev: Dcmtk headers cause compile failure
Greg Sharp
gregsharp.geo at yahoo.com
Sat Aug 13 18:18:45 UTC 2011
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
More information about the Debian-med-packaging
mailing list