[Insight-users] Error compiling SNAP in InsightApplication

bear xgl99 at mails.tsinghua.edu.cn
Wed Nov 10 09:20:26 EST 2004


hi all,
I am using CVS Insight and VTK-4.4 under Debian.
Build InsightApplication with following error when arriving at SNAP
/home/src/InsightApplications/Build/SNAP: building default_target
Building object file UserInterface/MainComponents/UserInterfaceLogic.o...
In file included from
/home/src/InsightApplications/SNAP/UserInterface/MainComponents/UserInterfaceLogic
.cxx:49:
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h: In
   member function `void WidgetActivationManager<TFlag>::UpdateFlag(TFlag,
   bool, int)':
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h:91: error: parse
   error before `;' token
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h:99: error: parse
   error before `;' token
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h: In
   destructor `virtual
   WidgetActivationManager<TFlag>::~WidgetActivationManager()':
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h:108: error: parse
   error before `;' token
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h: In
   destructor `WidgetActivationManager<TFlag>::~WidgetActivationManager() [with
   TFlag = UserInterfaceLogic::UIStateFlags]':
/home/src/InsightApplications/SNAP/UserInterface/MainComponents/UserInterfaceLogic
.cxx:298:   instantiated from here
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h:109: error: `
   itWidget' undeclared (first use this function)
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h:109: error: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h: In
   member function `void WidgetActivationManager<TFlag>::UpdateFlag(TFlag,
   bool, int) [with TFlag = UserInterfaceLogic::UIStateFlags]':
/home/src/InsightApplications/SNAP/UserInterface/MainComponents/UserInterfaceLogic
.cxx:481:   instantiated from here
/home/src/InsightApplications/SNAP/UserInterface/BasicComponents/FLTKWidgetActivat
ionManager.h:92: error: `
   itRule' undeclared (first use this function)
make[3]: *** [UserInterface/MainComponents/UserInterfaceLogic.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_SNAP] Error 2
make: *** [default_target] Error 2

What is the problem?




More information about the Insight-users mailing list