[vtkusers] java in vtk 4.4: how?

Steve M. Robbins steven.robbins at videotron.ca
Thu Jan 27 09:16:20 EST 2005


On Wed, Jan 26, 2005 at 11:34:08PM -0500, Steve M. Robbins wrote:
> Hi,
> 
> I have built VTK 4.2 with java wrappers using the following procedure:
> 
> 1. unpack the sources, cd into directory
> 2. run "ccmake ." and turn on hybrid and java wrappers; everything else
> is left in default state.
> 
> I did *exactly* the same procedure with the latest 4.4 sources but no
> jar file was produced.  Has something changed in the procedure?

I diffed Wrapping/Java/CMakeLists.txt between the two versions and
several things have changed.  One change that jumps out, however,
is that the newer file is wrapped in

    IF (BOGO) / ENDIF (BOGO)

which is nowhere defined.  The resulting Wrapping/Java/Makefile -- not suprisingly --
has an empty TARGETS variable.  The 4.2 version had a bunch of targets such as
VTKJava, VTKJavaCommon, etc.

What's going on?

I'm using CMake 2.0 - patch 3.  Is that not new enough?  I'll try the latest ...

-Steve



More information about the vtkusers mailing list