[vtkusers] It's impossible to build VTK+Java in MacOS X
Andy Cedilnik
andy.cedilnik at kitware.com
Mon Mar 10 12:13:44 EST 2003
Hi Carlos,
We build VTK/Java on Carbon and Cocoa every night without problems. The
X11 will not work because your Java is not build with X11. If you build
Java yourself, then it will work.
What VTK are you trying?
Also, what cache variables do you set?
Andy
On Mon, 2003-03-10 at 11:31, Carlos Martínez Burgos wrote:
> I'm trying to build VTK with Java wrapping in MacOS X without results. I
> have tried every option I know. I always configure cmake to build with
> shared libraries, rendering and hybrid on and examples off.
>
> I have tried to build with Carbon, Cocoa and X11 from Apple. If I use
> Carbon, I can get a good built, but with Java nothing is shown when I run
> a Wrapping/Java example. The same thing happens with Cocoa. When I try to
> build with X11 on, I can get a good built without Java enabled (examples
> run well) but when I enable Java I get errors attached.
>
> I think this happens because in java vm there's nothing to use awt with
> X11 from Apple, only with Carbon or Cocoa. Is this right?
>
> I have tried to build VTK with Java wrapping on a MacOS X many, many, many
> times since two years ago but never had got good results. I would very,
> very, very pleased if someone gives me a good tip to do it.
>
> My computer is a G4 with MacOS X 10.2.4 and Java 1.4.1 DP 10 and cmake
> 1.6.5 binaries downloaded from cmake.org. I have tried with Java 1.3 too.
More information about the vtkusers
mailing list