Problem compiling vtk 3.1 with Solaris 2.6
Audrius Stundzia
adv_biologic at hotmail.com
Mon Feb 21 10:19:15 EST 2000
Dear fellow vtker's
I'm trying to compile vtk 3.1 using the following system configuration
Sun SPARC Ultra-60
Solaris 2.6
gcc 2.95.2
and
./configure --with-x --with-opengl --with-shared --with-patented
--with-contrib --with-local
The compilation chugs happily along, until it reaches the graphics
directory, and tries to compile vtkXRenderWindowInteractor.cxx.
At this point the following error occurs:
make[1]: Entering directory `/export/home0/stuff/vtk/vtk/graphics'
/usr/local/bin/g++ -g -O2 -fPIC -DVTK_WORDS_BIGENDIAN -DVTK_USE_PTHREADS
-D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I.
-I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING
-I./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB
-I./../local -DVTK_USE_LOCAL -DVTK_USE_OGLR -I/usr/openwin/share/include/
-I/usr/openwin/include -I./../common -c vtkXRenderWindowInteractor.cxx
-o vtkXRenderWindowInteractor.o
In file included from /usr/openwin/share/include/X11/Intrinsic.h:56,
from vtkXRenderWindowInteractor.h:65,
from vtkXRenderWindowInteractor.cxx:47:
/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
/usr/openwin/share/include/X11/Xlib.h:2078: ANSI C++ forbids declaration
`XAddHost' with no type
/usr/openwin/share/include/X11/Xlib.h:2086: ANSI C++ forbids declaration
`XAddHosts' with no type
plus a massive dump of similar XSomething error messages.
Any help / insight into this problem would be most appreciated.
Thanks.
Best regards,
Audrius
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list