[vtkusers] Trouble installing VTK on Solaris.

Jeff Lee jeff at cdnorthamerica.com
Tue Jun 12 10:33:30 EDT 2001


In you system.make, try changing-I/usr/openwin/share/include/ to -isystem
/usr/openwin/share/include/

Mukta Nandwani wrote:

> 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.
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

--
J.A. Lee


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010612/7fd40c27/attachment.htm>


More information about the vtkusers mailing list