[vtkusers] Re: Installation on SunOS 5.7 Ultra 2 Creator 3D System
Alexandre Guimond
guimond at bwh.harvard.edu
Thu Jan 25 16:57:05 EST 2001
On Thu, 25 Jan 2001 12:02:08 -0800
"Keator, David" <dbkeator at msx.hsis.uci.edu> writes:
> Hi,
>
> I'm having problems getting the graphics libraries to compile upon
> installation on this particular SUN box.
> When g++ tries to compile vtkXRenderWindowInteractor.cxx for instance it
> gives a whole series of X11 errors such as:
>
> /usr/openwin/share/include/X11/Xutil.h:701: ANSI C++ forbids declaration
> 'XSetWMHints' with no type
> /usr/openwin/share/include/X11/Xutil.h:770: ANSI C++ forbids declaration
> 'XSetRegion' with no type
> etc...
>
> Anyone have an experience with this same prob?
The usual fix is to use the -fpermissive flag with g++. As
mentionned, the problem is with sun's broken header files.
>
>
> Thanks alot,
>
> David Keator
> Programmer Analyst
> Brain Imaging Center
> University of California, Irvine
> (949) 824-7870
--
Alexandre Guimond, Ph.D. guimond at bwh.harvard.edu Phone:(617) 278-0800
http://spl.bwh.harvard.edu:8000/~guimond/ Fax:(617) 264-5154
Brigham and Women's Hospital, Harvard Medical School
CNI, RF396, 221 Longwood Av, Boston, MA 02115
More information about the vtkusers
mailing list