[vtkusers] More on: What version to use with redhat 7.0 and VTK3.1.2?

Miguel Angel Martin Fernandez vtk at helios.tel.uva.es
Tue Oct 3 15:02:46 EDT 2000


It worked, but there are other errors :(

gcc -fPIC -DVTK_USE_PTHREADS -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H
-DHAVE_UNISTD_H     /usr/local/vtk31/wrap/vtkWrapTcl.c   -o
/usr/local/vtk31/wrap/vtkWrapTcl
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined
reference to `main'
collect2: ld returned 1 exit status
make: *** [/usr/local/vtk31/wrap/vtkWrapTcl] Error 1


I think that I'll go on using my old version until a new redhat
distribution with less bugs is out.

	Miguel.

On Tue, 3 Oct 2000, Prabhu Ramachandran wrote:

> hi,
> 
> >>>>> "Miguel" == Miguel Angel Martin Fernandez <vtk at helios.tel.uva.es> writes:
> 
>     Miguel> I'm thinking you're right with the information about
>     Miguel> redhat 7.0.  I've been trying to compile VTK 3.1 with
> 
> 	Dont make hurried assumptions! :)
> 
>     Miguel> tcl/tk 8.0.5 and the version of Mesa with redhat 7.0, that
>     Miguel> is 3.3.5 (I think it isn't stable), and I obtain this
>     Miguel> error:
> 
>     Miguel> vtkMesaRenderWindow.cxx:159: `class vtkMesaRenderWindow'
>     Miguel> has no member named `OffScreenContextId'
> <snip>
> 
> 	This means that the symbol MESA is not defined.  This most
> probably means that GL/gl.h no longer defines MESA.  I have no idea
> why not.  Try to compile VTK with --with-opengl instead of
> --with-mesa.  It most probably will work.  
> 
> 	You may have to add an explicit -DVTK_USE_OGLR in your
> system.make.  Something like this:
> 
> GRAPHICS_API_FLAGS   =  -DVTK_USE_OGLR -I/usr/X11R6/include
> 
> prabhu
> 

-- 
            ________________________________________________________
  _________(_                                                      _)_________
  \········(_   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