[vtkusers] VTK compilation error under linux redhat 7.0

Miguel Angel Martin Fernandez vtk at helios.tel.uva.es
Fri Sep 29 11:42:15 EDT 2000


Hello dear users,

	I'm trying to compile VTK 2.4 with tcl under redhat linux 7.0 and
I get the next error:

c++  -g -O2 -fPIC -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 -DVTK_USE_OGLR   -I/usr/X11R6/include
-I./../common -I/usr/local/tk8.0.5/generic -I/usr/local/tcl8.0.5/generic
-c tcl/CommonInit.cxx -o tcl/CommonInit.o
c++  -g -O2 -fPIC -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 -DVTK_USE_OGLR   -I/usr/X11R6/include
-I./../common -I/usr/local/tk8.0.5/generic -I/usr/local/tcl8.0.5/generic
-c vtkTclUtil.cxx -o vtkTclUtil.o
vtkTclUtil.cxx: In function `int vtkTclNewInstanceCommand (void *,
Tcl_Interp *, int, char **)':
vtkTclUtil.cxx:481: cannot convert `int (*) (void *, Tcl_Interp *, int,
char **)' to `void *' for argument `2' to `vtkTclListInstances
(Tcl_Interp *, void *)'
make[1]: *** [vtkTclUtil.o] Error 1
make[1]: Leaving directory `/usr/local/vtk2.4/common'
make: *** [build_common] Error 2  


I'm using:

	* Tcl/Tk 8.0.5
	* Mesa 3.3-5
	* g++ 2.96

Does anybody know what is the problem?

	Thank you in advance.

	Miguel.

            ________________________________________________________
  _________(_                                                      _)_________
  \········(_   Miguel Ángel Martín Fernández                      _)········/
   \·······(_   ETSI Telecomunicación, Universidad de Valladolid   _)·······/
    \······(_   Campus Miguel Delibes, Camino del Cementerio, s/n  _)······/
     )·····(_   e-mail: miguel at atenea.tel.uva.es                   _)·····(
    /······(_   Tfno: +34-983-423000 Ext. 25548                    _)······\
   /·······(________________________________________________________)·······\
  /__________)                                                 (_____________\
                                                        





More information about the vtkusers mailing list