[Ctk-developers] problem compiling dcmtk

Curzio Basso curzio at camelotbio.com
Wed Feb 29 08:54:41 EST 2012


Hi,

I seem to have a problem compiling the superbuild. Namely I get the following
error while compiling DCMTK:

[ 28%] Building CXX object dcmimgle/libsrc/CMakeFiles/dcmimgle.dir/dimoimg.o
In file included from /Users/basso/work/CAMELOT/External/CTK-superbuild-20120229/DCMTK/dcmimgle/libsrc/dimoimg.cc:38:
/Users/basso/work/CAMELOT/External/CTK-superbuild-20120229/DCMTK/dcmimgle/include/dcmtk/dcmimgle/dimosct.h:127:17: error: 
      use of undeclared identifier 'scaleData'
                scaleData(&pixel, &this->Data, interpolate, value);
                ^
                this->
/Users/basso/work/CAMELOT/External/CTK-superbuild-20120229/DCMTK/dcmimgle/include/dcmtk/dcmimgle/dimosct.h:91:17: note: 
      in instantiation of member function 'DiMonoScaleTemplate<unsigned
      char>::scale' requested here
                scale(OFstatic_cast(const T *, pixel->getData()), ...
                ^
[snip]

and more of the following (I can attach the complete output if needed).

The source has been cloned right now from the repository, and I am using gcc 4.2 on a
mac. Is it a problem upstream? Can be reproduced?

thanks for any info
curzio

--
Curzio Basso, Ph.D
CAMELOT Biomedical Systems Srl
Via Greto di Cornigliano 6R
16152 Genova, Italy

+39-010-8695741 (office)
+39-010-8695742 (fax)
+39-349-5972038 (mobile)




More information about the Ctk-developers mailing list