[Insight-users] How to separate SNAP from InsightApplication?

Chunyan Jiang chunyan.jiang at gmail.com
Tue Dec 20 09:19:41 EST 2005


Dear Hans,

Thank you for your reply. I tried to do as you said. However, I didn't
find how to turn off, neither in IsightApplication/CMakeLists, nor in
CMake 2.2 that I used to configer applications. There are no such
options in both places.

And I tried to compile SNAP separately. In SNAP folder, I start with
SNAP.dsw and "Build".
There are
ALL_BUILD - 12 error(s), 35 warning(s)

The errors are two types.
One is
E:\ITK\InsightApplications-2.4.0\SNAP\UserInterface\ImageIOWizard\ImageIOWizardLogic.txx(565)
: error C2039: 'find_item' : is not a member of 'Fl_Choice'
        E:\FLTK\fltk-1.1.4\FL/Fl_Choice.H(31) : see declaration of 'Fl_Choice'
        D:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xstring(583) : while compiling class-template
member function 'void __thiscall
ImageIOWizardLogic<short>::OnDICOMPageEnter(void)'
E:\ITK\InsightApplications-2.4.0\SNAP\UserInterface\ImageIOWizard\ImageIOWizardLogic.txx(567)
: error C2664: 'int __thiscall Fl_Choice::value(int)' : cannot convert
parameter 1 from 'const struct Fl_Menu_Item *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
        D:\Program Files\Microsoft Visual
Studio\VC98\INCLUDE\xstring(583) : while compiling class-template
member function 'void __thiscall
ImageIOWizardLogic<short>::OnDICOMPageEnter(void)'

The errors occur in the following files:
GreyImageIOWizardLogic.cxx
PreprocessingImageIOWizardLogic.cxx
SegmentationImageIOWizardLogic.cxx
UserInterfaceLogic.cxx

Could you tell me why these happened?

Thanks a lot!

Chunyan


More information about the Insight-users mailing list