[vtkusers] Trouble installing VTK on Solaris.
Mukta Nandwani
mnandwan at vt.edu
Tue Jun 12 10:23:16 EDT 2001
Hi there,
I am trying to install vtk on sun4. I configured as:
./configure --with-mesa --with-shared --with-java --with-patented
--with-contrib
Now, when i try gmake, i get the following compilation error:
c++ -g -O2 -I. -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging
-DVTK_USE_IMAGING -I/usr/openwin/share/include/ -I/usr/openwin/include
-I./../common -I../common -I/home/ausable/software/src/tcl7.6/tk4.2/generic
-I/home/ausable/software/src/tcl7.6/tcl7.6/generic -I/usr/java1.2/include
-I/usr/java1.2/include/solaris -I/home/schroede/montnaro/Python-1.4/Include -c
vtkOpenGLImageActor.cxx -o vtkOpenGLImageActor.o
In file included from vtkOpenGLRenderWindow.h:53,
from vtkOpenGLImageActor.cxx:49:
/usr/openwin/share/include/X11/Xlib.h:2063: ANSI C++ forbids declaration
`XSetTransientForHint' with no type
/usr/openwin/share/include/X11/Xlib.h:2071: ANSI C++ forbids declaration
`XActivateScreenSaver' with no type
..and lots of other such terms (in Xlib.h, and Xutil.h) that seem to have no
type. I tried looking into the Xlib.h file, and found that all these terms
are declared as (for example):
extern XSetTransientForHint
Am I missing some include file here?
Thanks,
Mukta.
More information about the vtkusers
mailing list