while compiling vtk on linux

David Gobbi dgobbi at irus.rri.on.ca
Wed Apr 12 19:34:57 EDT 2000


Hi Naveen,

In user.make set

TCL_INCLUDE=-I/usr/src/tcl8.0.5/generic
TK_INCLUDE=-I/usr/src/tk8.0.5/generic

or wherever the 'generic' directory is in your tcl and tk source
directories.

 - David

--
  David Gobbi, MSc                    dgobbi at irus.rri.on.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

On Wed, 12 Apr 2000, Naveen Kumar Polapally wrote:

> hi,
> on compiling vtk on linux.I am getting the following error.
> 
> 
> cd wrap;        make - all
> make[1]: Entering directory `/home/3/polapall/vtk/vtk2.4/wrap'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/3/polapall/vtk/vtk2.4/wrap'
> cd common;     make - targets.make
> make[1]: Entering directory `/home/3/polapall/vtk/vtk2.4/common'
> make[1]: `targets.make' is up to date.
> make[1]: Leaving directory `/home/3/polapall/vtk/vtk2.4/common'
> cd common;     make - all
> make[1]: Entering directory `/home/3/polapall/vtk/vtk2.4/common'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/3/polapall/vtk/vtk2.4/common'
> cd graphics;   make - targets.make
> make[1]: Entering directory `/home/3/polapall/vtk/vtk2.4/graphics'
> make[1]: `targets.make' is up to date.
> make[1]: Leaving directory `/home/3/polapall/vtk/vtk2.4/graphics'
> cd graphics;   make - all
> make[1]: Entering directory `/home/3/polapall/vtk/vtk2.4/graphics'
> 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/X11R6/include -I./../common -I/usr/include/tk.h -I/usr/include/tcl.h 
> -I/usr/src-shared/local.old/mpich/profiling/nupshot/tkInt.h 
> -I/home/2/yarmolen/java/jdk1.2/include 
> -I/home/2/yarmolen/java/jdk1.2/include/linux  -c vtkTkRenderWidget.cxx -o 
> vtkTkRenderWidget.o
> In file included from vtkTkRenderWidget.cxx:44:
> vtkTkRenderWidget.h:82: tkInt.h: No such file or directory
> make[1]: *** [vtkTkRenderWidget.o] Error 1
> make[1]: Leaving directory `/home/3/polapall/vtk/vtk2.4/graphics'
> make: *** [build_graphics] Error 2
> nowlab:~/vtk/vtk2.4>
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> --------------------------------------------------------------------
> 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.
> --------------------------------------------------------------------
> 

--------------------------------------------------------------------
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