[vtkusers] Installation question

William Oliver oliver at afip.org
Sat Mar 15 12:10:53 EST 2003


I recently re-installed Linux on my box, and
since I re-formatted my drive anyway, I decided to install
install VTK 4.2 rather than the older 4.0, which
I had previously had running.


Configuration:

Box: Toshiba 5205-S703 laptop, 2 GHz Pentium 4, 512 MByte
RAM

OS:  Mandrake 9.1 pre-release beta 2 Linux
(2.4.21-0.11mdk kernel)

Java: j2sdk1.4.1_02

CXX: gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-2mdk)
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-long-long --enable-__cxa_atexit
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib



Things perk along until I get to the java wrapper,
and I get the following errors:

Building Java Test /home/oliver/VTK-4.2.1/Wrapping/Java/TestVTKCanvas.class...
/usr/java/j2sdk1.4.1_02/bin/javac -classpath /home/oliver/VTK-4.2.1/bin/vtk.jar -sourcepath /home/oliver/VTK-4.2.1/Wrapping/Java -d /home/oliver/VTK-4.2.1/Wrapping/Java /home/oliver/VTK-4.2.1/Wrapping/Java/TestVTKCanvas.java
/home/oliver/VTK-4.2.1/Wrapping/Java/vtk/vtkCanvas.java:12: cannot resolve symbol
symbol  : class vtkPlaneWidget
location: class vtk.vtkCanvas
  protected vtkPlaneWidget pw = new vtkPlaneWidget();
            ^
/home/oliver/VTK-4.2.1/Wrapping/Java/vtk/vtkCanvas.java:13: cannot resolve symbol
symbol  : class vtkBoxWidget
location: class vtk.vtkCanvas
  protected vtkBoxWidget bw = new vtkBoxWidget();
            ^
/home/oliver/VTK-4.2.1/Wrapping/Java/vtk/vtkCanvas.java:12: cannot resolve symbol
symbol  : class vtkPlaneWidget
location: class vtk.vtkCanvas
  protected vtkPlaneWidget pw = new vtkPlaneWidget();
                                    ^
/home/oliver/VTK-4.2.1/Wrapping/Java/vtk/vtkCanvas.java:13: cannot resolve symbol
symbol  : class vtkBoxWidget
location: class vtk.vtkCanvas
  protected vtkBoxWidget bw = new vtkBoxWidget();
                                  ^
4 errors

etc...

A quick google showed that this was briefly mentioned as a nightly
build problem, but not as a distro-level problem.  The solution
I saw was not to build the Canvas -- which allowed the build
to work, but rendered the java wrapper non-functional.

Any suggestions would be appreciated!

billo




More information about the vtkusers mailing list