[Dcmlib] gcc
olivier.stern at swing.be
olivier.stern at swing.be
Tue Jul 19 16:19:52 CEST 2005
Hi,
After little changes (string => std::string and <string.h> => <string> as well as fstream) here's my compilation error:
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx: In function `void drawline(int, int, int, int, int, int, uint8_t*, int, int, int)':
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:39: error: `max' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:39: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx: In function `void colorize(int, int, int, int, int, int, int, int, int, int, uint8_t*, int, int, int)':
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:76: error: `max' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx: In function `float ReturnVolume(char*, int*)':
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:191: error: `ifstream' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:191: error: expected `;' before \"file\"
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:194: error: `file' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx: In function `void ReturnCenter(char*, float*)':
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:226: error: `ifstream' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:226: error: expected `;' before \"file\"
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:228: error: `file' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx: In function `void ReturnVoxelResolution(char*, int*)':
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:253: error: `ifstream' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:253: error: expected `;' before \"file\"
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:255: error: `file' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx: In function `void GetPicks(char*, std::string*)':
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:277: error: `ifstream' undeclared (first use this function)
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:277: error: expected `;' before \"file\"
/home/olivier/Tfe/GDCM/gdcmBin/bin/Tfe/Recalage/exGrey2RGB.cxx:280: error: `file' undeclared (first use this function)
max is a function I didn't declare, but I didn't create too. I've tried it after a matlab translation hoping that it was allready defined in math.h. It s only 2 lines of code I ll write to create it, but I was surprised that it was compiling with 2.96 and not 3.4.1 :-)
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20050719/99909a95/attachment.html>
More information about the Dcmlib
mailing list