[vtkusers] Compile Errors of VTK4.0

Jan-Gerrit Drexhage jdrexhage at wiwi.uni-bielefeld.de
Wed Jul 24 05:49:30 EDT 2002


Hi there, the newb again ;-)

 

Compiled yesterday VTK4.0 on SuSE8.0 Linux with CMake 1.4 but I get
errors and I don't know where to search.

Mainly the compilation works but near the end(?) there are several
Compile Errors. I include them here. I hope someone can help. I
installed anything that is required for compiling VTK, looks more like a
mistake in the SourceCode:

 

/home/jdrexhage/VTK/Rendering/vtkAxisActor2D.cxx: In member function
`virtual

   void vtkAxisActor2D::BuildAxis(vtkViewport*)':

/home/jdrexhage/VTK/Rendering/vtkAxisActor2D.cxx:450: warning: passing
`float'

   for argument 3 of `static void
vtkAxisActor2D::SetOffsetPosition(float*,

   float, int, int, int, vtkActor2D*)'

/home/jdrexhage/VTK/Rendering/vtkAxisActor2D.cxx:450: warning: passing
`float'

   for argument 4 of `static void
vtkAxisActor2D::SetOffsetPosition(float*,

   float, int, int, int, vtkActor2D*)'

/home/jdrexhage/VTK/Rendering/vtkAxisActor2D.cxx:485: warning: passing
`float'

   for argument 5 of `static void
vtkAxisActor2D::SetOffsetPosition(float*,

   float, int, int, int, vtkActor2D*)'

 

 

   .

   .

   .

   .

   

   

   In file included from
/home/jdrexhage/VTK/Rendering/vtkGraphicsFactory.cxx:77:

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:64:28:
X11/StringDefs.h: No such file or directory

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:65:27:
X11/Intrinsic.h: No such file or directory

In file included from
/home/jdrexhage/VTK/Rendering/vtkGraphicsFactory.cxx:77:

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:101:
`XtAppContext'

   was not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:101: parse
error

   before `)' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: ISO C++
forbids

 

   declaration of `XtAppContext' with no type

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102:
`XtAppContext'

   declared as a `virtual' field

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: parse
error

   before `(' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: syntax
error

   before `<<' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: invalid
use of

   member `vtkXRenderWindowInteractor::vtkmsg'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: ISO C++
forbids

   declaration of `vtkmsgbuff' with no type

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: ISO C++
forbids

   initialization of member `vtkmsgbuff'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: making

   `vtkmsgbuff' static

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: ISO C++
forbids

   in-class initialization of non-const static member `vtkmsgbuff'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: invalid
data

   member initialization

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: (use `='
to

   initialize static data members)

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: ISO C++
forbids

   declaration of `vtkOutputWindowDisplayDebugText' with no type

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: syntax
error

   before `.' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h: In member
function

   `virtual void vtkXRenderWindowInteractor::SetBreakLoopFlag(int)':

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:89:
`this->vtkXRenderWindowInteractor::vtkOutputWindowDisplayDebugText'

   cannot be used as a function

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:89: `class

   vtkXRenderWindowInteractor' has no member named `BreakLoopFlag'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:89: `class

   vtkXRenderWindowInteractor' has no member named `BreakLoopFlag'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h: In member
function

   `virtual int vtkXRenderWindowInteractor::GetBreakLoopFlag()':

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:90: `class

   vtkXRenderWindowInteractor' has no member named `BreakLoopFlag'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:90:
`this->vtkXRenderWindowInteractor::vtkOutputWindowDisplayDebugText'

   cannot be used as a function

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:90: `class

   vtkXRenderWindowInteractor' has no member named `BreakLoopFlag'

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h: At global
scope:

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:102: parse
error

   before `}' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:112: virtual
outside

   class declaration

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:113: virtual
outside

   class declaration

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:119: virtual
outside

   class declaration

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:136: `Widget'
was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:136: virtual
outside

   class declaration

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:136: variable
or

   field `SetWidget' declared void

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:137: parse
error

   before `)' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:167: `Widget'
was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:167: virtual
outside

   class declaration

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:167: variable
or

   field `SetTopLevelShell' declared void

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:168: parse
error

   before `)' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:172: virtual
outside

   class declaration

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:176: `Widget'
was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:176:
`XtPointer' was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177: `XEvent'
was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177: parse
error

   before `,' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177:
`Boolean' was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177: parse
error

   before `)' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177: variable
or

   field `vtkXRenderWindowInteractorCallback' declared void

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177:
`vtkXRenderWindowInteractorCallback'

   declared as a friend

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:177:
initializer

   list being treated as compound expression

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:178:
`XtPointer' was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:178:
`XtIntervalId'

   was not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:178: parse
error

   before `)' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:178: variable
or

   field `vtkXRenderWindowInteractorTimer' declared void

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:178:
`vtkXRenderWindowInteractorTimer'

   declared as a friend

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:178:
initializer

   list being treated as compound expression

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:182:
destructors

   must be member functions

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:184: syntax
error

   before `*' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:185: 'Window'
is

   used as a type, but is not defined as a type.

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:186: 'Widget'
is

   used as a type, but is not defined as a type.

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:188:
'XtAppContext'

   is used as a type, but is not defined as a type.

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:190: 'Widget'
is

   used as a type, but is not defined as a type.

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:193:
`XtAppContext'

   was not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:193: parse
error

   before `,' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:195:
`XtPointer' was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:195: parse
error

   before `,' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:196: `Widget'
was

   not declared in this scope

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:196: parse
error

   before `,' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:201: parse
error

   before `&' token

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:201: `void

   operator=(...)' must be a nonstatic member function

/home/jdrexhage/VTK/Rendering/vtkXRenderWindowInteractor.h:201: confused
by earlier errors, bailing out

make[3]: *** [vtkGraphicsFactory.o] Error 1

make[2]: *** [default_target] Error 2

make[1]: *** [default_target_Rendering] Error 2

make: *** [default_target] Error 2

 

Thanks!

 

Jan-Gerrit Drexhage, University Bielefeld, Germany,  VTK-newb

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020724/67e000a7/attachment.htm>


More information about the vtkusers mailing list