[vtkusers] Solution to vtk40 linux compilation errors

Siram, Aditya siram at bnl.gov
Wed Jan 15 20:18:45 EST 2003


The problems I was having with compilation outlined in my previous post with
Subject Line: 'vtk40 linux compilation errors' appear to have disappeared. 

The following is just a description of what I did to solve the problem,
Perhaps more advanced users can enlighten us as to why it worked. 

Firstly, I used different C++ compilers. I was using gcc v2.96 (which I
mistakenly posted as 3.1.1 previously), and this time I used 3.1.1. My new
environment variable values for CC and CXX are:
CC=/usr/bin/gcc3
CXX=/usr/bin/g++3

Secondly I found an FAQ on the kitware site that said that Tcl/Tk 8.4 will
not work as is with VTK4.0. It suggests some actions one can take. Here is a
link to it:
http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq02.005.htp

And that's it. The next VTK compile was successful.

Good Luck, 
Aditya Siram









More information about the vtkusers mailing list