[vtkusers] Trouble installing VTK on Solaris.

Simon Warfield warfield at bwh.harvard.edu
Tue Jun 12 10:25:01 EDT 2001


g++ -fpermissive

Sun has broken header files.

On Tue, Jun 12, 2001 at 10:23:16AM -0400, 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

-- 
Simon Warfield, Ph.D. warfield at bwh.harvard.edu Phone:617-732-7090
http://www.spl.harvard.edu/~warfield           FAX:  617-582-6033
Thorn 329, Brigham and Women's Hospital, Harvard Medical School
Department of Radiology, 75 Francis St, Boston, MA, 02115




More information about the vtkusers mailing list