VTK 3.1 Compile Problem
fmri
fmri at wilma.ukbf.fu-berlin.de
Mon Mar 13 13:06:25 EST 2000
Dear list members,
I am currently trying to install vtk31 on my Redhat 6.1 machine using
Mesa3.1beta3-2, Mesa-devel3.1beta3-2, Mesa-glut3.1beta3-2 and
Mesa-glut-devel3.1beta3-2. When compiling the contents of the graphics
directory I receive the following error message (see appended output). I
would truly appreciate hints concerning the origin of the problem.
Thank You very much in advance !
Arno R. Schleich, MS, MD
Dpt. Otorhinolaryngology,
Freie Universitaet Berlin
cd wrap; gmake - all
gmake[1]: Entering directory `/usr/vtk31/wrap'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/vtk31/wrap'
cd common; gmake - targets.make
gmake[1]: Entering directory `/usr/vtk31/common'
gmake[1]: `targets.make' is up to date.
gmake[1]: Leaving directory `/usr/vtk31/common'
cd common; gmake - all
gmake[1]: Entering directory `/usr/vtk31/common'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/vtk31/common'
cd graphics; gmake - targets.make
gmake[1]: Entering directory `/usr/vtk31/graphics'
gmake[1]: `targets.make' is up to date.
gmake[1]: Leaving directory `/usr/vtk31/graphics'
cd graphics; gmake - all
gmake[1]: Entering directory `/usr/vtk31/graphics'
c++ -g -O2 -fPIC -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/usr/include/GL
-DVTK_USE_MESA -I/usr/X11R6/include -I./../common
-I/usr/src/redhat/SOURCES/tk8.0.4/generic
-I/usr/src/redhat/SOURCES/tcl8.0/generic -I/usr/include/python1.5 -c
vtkMesaRenderWindow.cxx -o vtkMesaRenderWindow.o
In file included from vtkMesaRenderWindow.h:68,
from vtkMesaRenderWindow.cxx:45:
/usr/include/GL/osmesa.h:141: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:152: syntax error before `void'
/usr/include/GL/osmesa.h:183: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:193: syntax error before `GLAPIENTRY'
/usr/include/GL/osmesa.h:210: syntax error before `void'
/usr/include/GL/osmesa.h:225: syntax error before `void'
/usr/include/GL/osmesa.h:239: syntax error before `GLAPIENTRY'
vtkMesaRenderWindow.cxx: In method
`vtkMesaRenderWindow::~vtkMesaRenderWindow()':
vtkMesaRenderWindow.cxx:227: warning: implicit declaration of function
`int OSMesaDestroyContext(...)'
vtkMesaRenderWindow.cxx: In method `void
vtkMesaRenderWindow::WindowInitialize()':
vtkMesaRenderWindow.cxx:460: warning: implicit declaration of function
`int OSMesaCreateContext(...)'
vtkMesaRenderWindow.cxx:460: warning: assignment to `osmesa_context *'
from `int' lacks a cast
vtkMesaRenderWindow.cxx: In method `void
vtkMesaRenderWindow::MakeCurrent()':
vtkMesaRenderWindow.cxx:1186: warning: implicit declaration of function
`int OSMesaMakeCurrent(...)'
gmake[1]: *** [vtkMesaRenderWindow.o] Error 1
gmake[1]: Leaving directory `/usr/vtk31/graphics'
gmake: *** [build_graphics] Error 2
--------------------------------------------------------------------
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