[Insight-users] InsightSNAP cannot compile

Ran Tao garfieldtao at gmail.com
Thu Jan 18 00:41:00 EST 2007


Hi,

I am trying to compile InsightSNAP and stuck in ImageIOWizardLogic.txx.
Now gcc version is 3.3.4, fltk is 1.4, itk and itkapplication are both
3.0.

The error message are as follows.

Building CXX object
SNAP/CMakeFiles/itksnapui.dir/UserInterface/ImageIOWizard/GreyImageIOWizardLogic.o
/home/myinstalls/InsightApplications/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx: In member function `void ImageIOWizardLogic<TPixel>::OnDICOMPageEnter() [with TPixel = GreyType]':
/home/myinstalls/InsightApplications/SNAP/UserInterface/ImageIOWizard/GreyImageIOWizardLogic.cxx:25:   instantiated from here
/home/Rmyinstalls/InsightApplications/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:567: error: `find_item' undeclared (first use this function)
/home/myinstalls/InsightApplications/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:567: error: (Each
   undeclared identifier is reported only once for each function appears
   in.)
/home/myinstalls/InsightApplications/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:569: error: invalid
   conversion from `const Fl_Menu_Item*' to `int'
/home/myinstalls/InsightApplications/SNAP/UserInterface/ImageIOWizard/ImageIOWizardLogic.txx:569: error:
    initializing argument 1 of `int Fl_Choice::value(int)'
make[2]: ***
[SNAP/CMakeFiles/itksnapui.dir/UserInterface/ImageIOWizard/GreyImageIOWizardLogic.o] Error 1
make[1]: *** [SNAP/CMakeFiles/itksnapui.dir/all] Error 2
make: *** [all] Error 2


Any help will be appreciated.

Thanks,

Ran



More information about the Insight-users mailing list