Some update on the issue. Using iconv.h from debian is a little harder
than first thought. DCMTK is actually using some non-standard
extension from libiconv.h:

me/mathieu/debian/debian-med/trunk/packages/dcmtk/branches/experimental/dcmtk-3.6.1~20121102/ofstd/libsrc/ofchrenc.cc:
In member function ‘OFCondition
OFCharacterEncoding::convertString(void*, const char*, size_t,
OFString&, bool)’:
/home/mathieu/debian/debian-med/trunk/packages/dcmtk/branches/experimental/dcmtk-3.6.1~20121102/ofstd/libsrc/ofchrenc.cc:203:
error: ‘::iconvctl’ has not been declared
/home/mathieu/debian/debian-med/trunk/packages/dcmtk/branches/experimental/dcmtk-3.6.1~20121102/ofstd/libsrc/ofchrenc.cc:203:
error: ‘ICONV_SET_TRANSLITERATE’ was not declared in this scope
/home/mathieu/debian/debian-med/trunk/packages/dcmtk/branches/experimental/dcmtk-3.6.1~20121102/ofstd/libsrc/ofchrenc.cc:211:
error: ‘::iconvctl’ has not been declared
/home/mathieu/debian/debian-med/trunk/packages/dcmtk/branches/experimental/dcmtk-3.6.1~20121102/ofstd/libsrc/ofchrenc.cc:211:
error: ‘ICONV_SET_DISCARD_ILSEQ’ was not declared in this scope
make[2]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/ofchrenc.cc.o] Error 1

where

iconvctl is actually a non-standard extension. The only function one
can use is in fact:
- iconv_open
- iconv
- iconv_close

This way it will be portable. As of now DCMTK requires libiconv and
not equivalent.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

  • Bug#701802: Mathieu Malaterre

Reply via email to