[vtkusers] It's impossible to build VTK+Java in MacOS X
Andy Cedilnik
andy.cedilnik at kitware.com
Tue Mar 11 07:54:08 EST 2003
Hi Carlos,
If you turned on BUILD_TESTING, then you should have couple of Java
binaries laying in /path-to-VTK-carbon/Wrapping/Java. On Mac, we set the
following environment variable:
export DYLD_LIBRARY_PATH="/path-to-VTK-carbon/bin"
and then we run the test:
/usr/bin/java -classpath
"/path-to-VTK-carbon/bin/vtk.jar:/path-to-VTK-carbon/Wrapping/Java"
Regression -D "/path-to-VTKData" -V Baseline/Graphics/Cone.png
This runs a simple java example.
Let me know if it works.
Andy
On Tue, 2003-03-11 at 05:06, Carlos Martínez Burgos wrote:
> Sorry, I have not explained myself. I can build VTK with Java wrapping
> using Carbon and Cocoa, but I can't use vtkPanel class. When I try tu run
> an example from Wrapping/Java nothing is shown. Can you run these
> examples? If you can do it, could you share a built version?
>
> I understand what happens about Java and X11. Java is build to use it with
> Mac and not with X11, so JAWT_X11DrawingSurface is not defined. Instead
> JAWT_MacDrawingSurface is it.
>
> I use a CVS downloaded (yesterday) version of VTK and CMake 1.6.5.
>
> I send you my CMakeCache.txt file used with VTK+Carbon+Java. The files
> used with Cocoa and X11 are similar, changing only what toolkit is used.
More information about the vtkusers
mailing list