[Insight-users] Build ImageRegistration and FltkImageViewer outside ItkApplication

Na Lv lnlunar at yahoo.com.cn
Thu Jun 9 17:47:40 EDT 2011


Hi all,
  I am trying to build ImageRegistration outside ItkApplication. I copied the sourcecode of ImageRegistration and FltkImageViewer to two new directory. I used CMake to configure and generate the solution of FltkImageViwer for visual studio 2010, which is successful. But when I tried to build the project, VS gives me the following errors:
>ClCompile:
1>  fltkGlWindow.cxx
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkGlWindow.cxx(40): error C2065: 'm_RedrawCommand' : undeclared identifier
1>..\fltkGlWindow.cxx(40): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>..\fltkGlWindow.cxx(40): error C3861: 'New': identifier not found
1>..\fltkGlWindow.cxx(41): error C2065: 'm_RedrawCommand' : undeclared identifier
1>..\fltkGlWindow.cxx(41): error C2227: left of '->SetWidget' must point to class/struct/union/generic type
1>          type is ''unknown-type''
1>..\fltkGlWindow.cxx(42): error C2065: 'm_Notifier' : undeclared identifier
1>..\fltkGlWindow.cxx(42): error C2653: 'itk' : is not a class or namespace name
1>..\fltkGlWindow.cxx(42): error C3861: 'New': identifier not found
1>..\fltkGlWindow.cxx(83): error C2039: 'RedrawCommandType' : is not a member of 'fltk::GlWindow'
1>          d:\luna\projects\itk\fltkimageviewer\fltkGlWindow.h(36) : see declaration of 'fltk::GlWindow'
1>..\fltkGlWindow.cxx(83): error C2143: syntax error : missing ';' before '*'
1>..\fltkGlWindow.cxx(83): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkGlWindow.cxx(86): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkGlWindow.cxx(88): error C2065: 'm_RedrawCommand' : undeclared identifier
1>..\fltkGlWindow.cxx(88): error C2228: left of '.GetPointer' must have class/struct/union
1>          type is ''unknown-type''
1>..\fltkGlWindow.cxx(100): error C2653: 'itk' : is not a class or namespace name
1>..\fltkGlWindow.cxx(100): error C2143: syntax error : missing ';' before '*'
1>..\fltkGlWindow.cxx(100): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkGlWindow.cxx(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkGlWindow.cxx(103): error C2065: 'm_Notifier' : undeclared identifier
1>..\fltkGlWindow.cxx(103): error C2228: left of '.GetPointer' must have class/struct/union
1>          type is ''unknown-type''
1>  fltkGlWindowInteractive.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkGlWindowInteractive.cxx(355): error C2227: left of '->InvokeEvent' must point to class/struct/union/generic type
1>          type is 'int *'
1>  fltkGlWindowInteractiveFlat.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>  fltkImage2DViewerWindow.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkImage2DViewerWindow.cxx(377): error C2227: left of '->InvokeEvent' must point to class/struct/union/generic type
1>          type is 'int *'
1>  fltkRGBImage2DViewerWindow.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\fltkRGBImage2DViewerWindow.cxx(387): error C2227: left of '->InvokeEvent' must point to class/struct/union/generic type
1>          type is 'int *'
1>  fltkDisplayGlWindowGUI.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:/luna/Projects/itk/FltkImageViewer/viewbin/fltkDisplayGlWindowGUI.h(28): error C2039: 'RedrawCommandType' : is not a member of 'fltk::GlWindow'
1>          D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(36) : see declaration of 'fltk::GlWindow'
1>D:/luna/Projects/itk/FltkImageViewer/viewbin/fltkDisplayGlWindowGUI.h(28): error C2143: syntax error : missing ';' before '*'
1>D:/luna/Projects/itk/FltkImageViewer/viewbin/fltkDisplayGlWindowGUI.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:/luna/Projects/itk/FltkImageViewer/viewbin/fltkDisplayGlWindowGUI.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:/luna/Projects/itk/FltkImageViewer/viewbin/fltkDisplayGlWindowGUI.h(28): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>fltkDisplayGlWindowGUI.cxx(70): error C2039: 'RedrawCommandType' : is not a member of 'fltk::GlWindow'
1>          D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(36) : see declaration of 'fltk::GlWindow'
1>fltkDisplayGlWindowGUI.cxx(70): error C2143: syntax error : missing ';' before '*'
1>fltkDisplayGlWindowGUI.cxx(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>fltkDisplayGlWindowGUI.cxx(70): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>fltkDisplayGlWindowGUI.cxx(71): error C2440: 'return' : cannot convert from 'int *' to 'int'
1>          There is no context in which this conversion is possible
1>fltkDisplayGlWindowGUI.cxx(75): error C2440: 'return' : cannot convert from 'int *' to 'itk::Object *'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  fltkDisplayGlWindowFlatGUI.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>fltkDisplayGlWindowFlatGUI.cxx(68): error C2440: 'return' : cannot convert from 'int *' to 'itk::Command *'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>fltkDisplayGlWindowFlatGUI.cxx(72): error C2440: 'return' : cannot convert from 'int *' to 'itk::Object *'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  fltkImage2DViewerGUI.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>  fltkRGBImage2DViewerGUI.cxx
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2143: syntax error : missing ';' before '<'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(42): error C2238: unexpected token(s) preceding ';'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(50): warning C4183: 'GetRedrawCommand': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C2143: syntax error : missing ';' before '*'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(51): warning C4183: 'GetNotifier': missing return type; assumed to be a member function returning 'int'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2653: 'RedrawCommandType' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C2146: syntax error : missing ';' before identifier 'm_RedrawCommand'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2653: 'itk' : is not a class or namespace name
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C2146: syntax error : missing ';' before identifier 'm_Notifier'
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\luna\Projects\itk\FltkImageViewer\fltkGlWindow.h(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>  Generating Code...
1>
1>Build FAILED.
 
 
Can anyone help me? I really appreciate.
     Best,
               Luna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110610/d025eb11/attachment.htm>


More information about the Insight-users mailing list