[Insight-developers] 64 bit bug in SNAP
Simon Warfield
warfield at bwh.harvard.edu
Mon Dec 19 17:49:42 EST 2005
InsightApplications 2.4.0/SNAP has an incompatibility that shows up on
64 bit machines.
It makes a cast between pointers and ints that is not valid on 64 bit
machines.
In file included from
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/GreyImageIOWizardLogic.cxx:22:
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:
In member function `virtual void
ImageIOWizardLogic<TPixel>::OnDICOMPageEnter()':
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:565:
error: 'class Fl_Choice' has no member named 'find_item'
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:
In member function `void ImageIOWizardLogic<TPixel>::OnDICOMPageEnter()
[with TPixel = GreyType]':
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/GreyImageIOWizardLogic.cxx:25:
instantiated from here
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:567:
error: invalid conversion from `const Fl_Menu_Item*' to `int'
/InsightApplications-2.4.0/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:567:
error: initializing argument 1 of `int Fl_Choice::value(int)'
make[2]: ***
[SNAP/CMakeFiles/InsightSNAP.dir/UserInterface/ImageIOWizard/GreyImageIOWizardLogic.o]
Error 1
--
Simon K. Warfield, Ph.D. warfield at crl.med.harvard.edu
Phone: 617-732-7090 FAX: 617-582-6033
Associate Professor of Radiology, Harvard Medical School
Director, Computational Radiology Laboratory,
Departments of Radiology at Children's Hospital and
Brigham and Women's Hospital,
Thorn 329, Dept Radiology, Brigham and Women's Hospital
75 Francis St, Boston, MA, 02115
MA 280, Dept Radiology, Children's Hospital Phone: 617-355-4566
More information about the Insight-developers
mailing list