Python and Vtk

Dean N. Williams williams13 at llnl.gov
Tue Sep 14 13:20:19 EDT 1999


Dear Vtk Users:

    I am new to the community and I would like to build Vtk for Python
on my Linux 5.2 platform.

    I am running into a view problems and I wonder if anyone can help me
solve them.

    My configure line is as follows:
env CXX=/usr/bin/g++ CC=/usr/bin/gcc ./configure --with-tcl
--with-contrib --with-shared --with-tkwidget --with-mesa --with-patented
--with-python

    This seemed to work okay with a few warnings:
configuring in python
configure: warning: no configuration information is in python
configuring in tcl
configure: warning: no configuration information is in tcl
configuring in java
configure: warning: no configuration information is in java

    Question 1:  Are the warnings okay and do I how do I get rid of
them?

    The make seemed to work for much of the compile, but then it stops
at "vtkTkRenderWidget":

/usr/bin/g++  -g -O2 -fPIC -DVTK_USE_PTHREADS -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/data1/vtk2.4/Mesa-3.0/include -DVTK_USE_OGLR   -I/usr/X11R6/include
-I./../common -I/usr/local/include -I/usr/local/include
-I/pcmdi/williams/wrk/cdat/python15/Include -c vtkTkRenderWidget.cxx -o
vtkTkRenderWidget.o
In file included from vtkTkRenderWidget.h:84,
                 from vtkTkRenderWidget.cxx:44:
/usr/local/include/tkUnixInt.h:20: tkInt.h: No such file or directory
make[1]: *** [vtkTkRenderWidget.o] Error 1
make[1]: Leaving directory `/data1/vtk2.4/graphics'
make: *** [build_graphics] Error 2


    How do I get Vtk to compile with the options (i.e., python, tcl,
shared, etc) I've selected?
    I have /usr/local/lib/libtcl8.1.a and /usr/local/lib/libtk8.1.a and
/usr/local/include/tk.h and
    /usr/local/include/tcl.h.

    Have anyone else run into this problem?

    Thanks in advance for your help!

-Dean

--
Dean N. Williams
Computer Scientist/Computation Group Leader             o
Lawrence Livermore National Laboratory                --
Livermore, California 94550                          `\< *
Phone: (925) 423-0145    FAX: (925) 422-7675        /  \
http://www-pcmdi.llnl.gov                         williams13 at llnl.gov





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