while compiling vtk on linux

Daniel J. Blezek, Ph.D. blezek at crd.ge.com
Thu Apr 13 07:19:40 EDT 2000


Hi Naveen,

  I would suggest upgrading VTK to version 3.11, the latest version.  In
vtk 2.4, the Tk rendering depended on some internal headers, namely
tkInt.h.  In 3.1, that dependancy is removed (on the UNIX side only,
anyone care to take a stab at the WinNT side?).

  Looking at the line you are using to compile, I see this:

-I/usr/include/tk.h
-I/usr/include/tcl.h
-I/usr/src-shared/local.old/mpich/profiling/nupshot/tkInt.h

This is a problem.  The -I flag is looking for directories, and you have
given it individual files.  Try removing the filename and re-compiling

-I/usr/include/
-I/usr/include/
-I/usr/src-shared/local.old/mpich/profiling/nupshot/


These lines are likely in the user.make file in the top level vtk2.4
directory.

-dan




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

--
Daniel Blezek, Ph.D.
blezek at crd.ge.com
Computer Graphics and Systems Program
Electronic Systems Lab
GE Corporate Research & Development

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