visual error
Tom G. Smith
smitty at kcc.com
Tue Jan 25 10:37:09 EST 2000
I recently installed vtk 2.4 on Linux RedHat 6.1, on a Compaq Proliant,
an IBM Aptiva 530, and a Techra 8000 laptop. All three are working
fine. Here's my install log, if it helps.
/contrib/vtk.log:
Install log for vtk 2.4 on RedHat 6.1:
First, installed Mesa.
ftp://sunsite.org.uk/Mirrors/contrib.redhat.com/libc6/i386/
and downloaded these two files and installed them:
rpm -i /contrib/mesa/Mesa-3.1-1.i386.rpm
#rpm -i /contrib/mesa/Mesa-devel-3.1-1.i386.rpm
rpm --oldpackage -U /contrib/mesa/Mesa-devel-3.1-1.i386.rpm
Second, loaded disk 2 of RedHat 6.1 install CD/ROMs to hard disk, and
installed tcltk source by doing -
rpm -i /redhat61/disk2/SRPMS/tcltk-8.0.5-30.src.rpm
rpm -i /redhat61/disk2/SRPMS/python-1.5.2-7.src.rpm
rpm -i /redhat61/disk2/SRPMS/pythonlib-1.23-1.src.rpm
cd /usr/src/redhat/SOURCES
tar xzf tcl8.0.5.tar.gz
tar xzf tk8.0.5.tar.gz
Third, downloaded tarball for vtk 2.4 from -
http://www.kitware.com/vtkhtml/vtkdata/HowToGetSoftware.html
and installed vtk 2.4. Instructions are in /contrib/vtk/vtk2.4/VTK-Linux-HOWTO
mkdir /contrib/vtk
cd /contrib/vtk
tar xzvf vtk24unix.tar.gz
cd vtk2.4
./configure --with-mesa --with-tcl --with-shared --with-contrib
backupfile user.make # user.make.d000121.t124732.root
vi user.make # Made these changes:
TCL_INCLUDE=-I/usr/src/redhat/SOURCES/tcl8.0.5/generic
TCL_LIB=/usr/lib/libtcl8.0.so
TK_INCLUDE=-I/usr/src/redhat/SOURCES/tk8.0.5/generic
TK_LIB=/usr/lib/libtk8.0.so
MESA_INCLUDE=-I/usr/include/GL
MESA_LIB=/usr/lib/libGL.so
make clean
make
cd /usr/lib
ln -s /contrib/vtk/vtk2.4/*/*.so .
/sbin/ldconfig -n /usr/lib
cd /usr/local/bin
ln -s /contrib/vtk/vtk2.4/tcl/vtk .
Mounted cdrom from book "The Visualization Toolkit" and did -
cd /contrib/vtk/vtk2.4
(cd /mnt/cdrom; tar cf - vtkdata) | tar xf -
ln -s /contrib/vtk/vtk2.4/vtkdata /contrib/vtk/vtkdata
ln -s /contrib/vtk/vtk2.4 /opt/vtk
> I have installed vtk with mesa on my LINUX box. When I try to fire up
> one of the examples in $VTKPATH/graphics/examplesTcl/ , I get the following
> error:
>
> ERROR In vtkOpenGLRenderWindow.cxx, line 159
> vtkOpenGLRenderWindow (0x8180b98): Could not find a decent visual
> Segmentation fault (core dumped)
>
> I need to get this running soon for a class I'm taking this semester.
> Does anyone have any suggestions. Also, I tried the link from the
> www.kitware.com site to the archives for this list, but it appears to
> be broken. Does anybody know where the archives are?
>
> Thanks,
> Dave
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list