[vtkusers] jawt_md.h
Eugene Kim
eugene at salk.edu
Mon Aug 2 16:20:46 EDT 2004
Hi everyone,
I submitted a bug a couple weeks ago to bug tracker... but perhaps
that wasn't the place to get a response. Anyway, the new jawt files in
the java sdk 1.4.2, specifically jawt_md.h, has an object whose sole
member is a NSView object. The call to this from vtk in vtkJavaAwt.h is
for a NSWindow object, (or at the very least a member named
cocoaWindowRef). These are mismatched, and to get vtk to compile, you
need to change either the jawt_md.h or vtkJavaAwt.h file. I say either
because stranglely enough, both types of changes work. Now, I assumed
that the files included with java were the correct ones, so I currently
build vtk modifying the vtkJavaAwt.h file. Could someone look at this?
Btw, I am trying to wrap vtk with java for the mac osx 10.3.4.
As said, I'm using java 1.4.2.
Thanks,
Eugene Kim
More information about the vtkusers
mailing list