[vtkusers] "The works" build problem

Luke J West ljw at soc.soton.ac.uk
Thu Jan 29 05:41:27 EST 2004


Hi - I'm trying to build VTK with ansi headers activated + wrapping for
python,tcl and java all in a sesame seed bun

I've been successful in the past without ansi and java

I've got a long way but am stuck with the following. What's causing my two
undefined references?

Thanks


1 me at myhost>cat app.cxx
// pretty trivial program, eh?
int main() {
 return 0;
}

2 me at myhost>make
g++ -c app.cxx -I/local/ljw/vtk/current/include/vtk
g++ -o app app.o -L/local/ljw/vtk/current/lib/vtk -lvtkCommonJava
-lvtkCommonPython -lvtkCommon -lvtkCommonTCL -lvtkexpat -lvtkFilteringJava
-lvtkFilteringPython -lvtkFiltering -lvtkFilteringTCL -lvtkfreetype -lvtkftgl
-lvtkGraphicsJava -lvtkGraphicsPython -lvtkGraphics -lvtkGraphicsTCL
-lvtkHybridJava -lvtkHybridPython -lvtkHybrid -lvtkHybridTCL -lvtkImagingJava
-lvtkImagingPython -lvtkImaging -lvtkImagingTCL -lvtkIOJava -lvtkIOPython
-lvtkIO -lvtkIOTCL -lvtkParallelJava -lvtkParallelPython -lvtkParallel
-lvtkParallelTCL -lvtkRenderingJava -lvtkRenderingPython
-lvtkRenderingPythonTkWidgets -lvtkRendering -lvtkRenderingTCL
-L/local/ljw/java/current/jre/lib/i386 -lawt -lmlib_image -ljava
-Wl-rpath,/local/ljw/java/current/jre/lib/i386 -lverify
-L/local/ljw/java/current/jre/lib/i386/client -ljvm

/local/ljw/vtk/current/lib/vtk/libvtkCommonPython.so: undefined reference to
`openpty'
/local/ljw/vtk/current/lib/vtk/libvtkCommonPython.so: undefined reference to
`forkpty'


Luke J West : Research Assistant : e-Science
--------------------------------------------
Rm. 566/12, School of Ocean & Earth Sciences
Southampton Oceanography Centre, Southampton
SO14 3ZH  United Kingdom
--------------------------------------------
Tel: +44 23 8059 4801  Fax: +44 23 8059 3052
Mob: +44 79 6107 4783




More information about the vtkusers mailing list