[vtkusers] vtk-Java Help
Surajit Nundy
nundys at neuro.duke.edu
Tue Oct 1 00:20:21 EDT 2002
I have been able to successfully make Java wrapped libraries on 10.2.1.
They almost work (I can see vtkRenderWindows and generate other
classes easily). However, one major exception remains:-
If I do vtkPolyDataMapper.SetInput( cone.GetOutput()), the program
fails with a EXC_BAD_ACCESS error. This is not a java problem, because
I cannot catch an exception around this code. Instead, a "Bus Error"
happens with the above problem written to Console. Oddly, I can use
vtkPolyDataMapper.SetInput in C++ and Tcl code without any problems,
which suggests that the actual Java wrapping is responsible. Since
this is a pretty important method and class (I can't visualize data
without it), I was hoping you would have some ideas about it.
I also haven't been able to use vtkPanel.java yet which apparently
makes the Carbon drawing surface thread-safe (using vtkRenderWindow
directly apparently is not thread-safe). Have you used these
successfully?
Thanks,
Surajit
On Wednesday, September 25, 2002, at 02:32 AM, Raphael Sebbe wrote:
> Here is my CMakeCache.txt, it builds VTK for Cocoa, but no Java
> backend. Note that the last time I built it was on September 3 (from
> CVS).
>
> <CMakeCache.txt>
>
> Raphael
>
> On Tuesday, September 24, 2002, at 08:37 PM, Surajit Nundy wrote:
>
>> Problems:
>> I successfully built VTK using Cocoa on Mac OS X 10.2.1. However,
>> when I try to run it, I get the error message (unlike Sandor Heman):-
>>
>> /TimeRenderer
>> dyld: ./TimeRenderer Undefined symbols:
>> OpenGL undefined reference to _gll_noop expected to be defined in
>> /usr/X11R6/lib/libGL.dylib
>> OpenGL undefined reference to _gll_pkey expected to be defined in
>> /usr/X11R6/lib/libGL.dylib
>> Trace/BPT trap
>>
>> This is behavior that didn't exist about a month ago when I could
>> build and run VTK on 10.1.5 (quite) flawlessly. It seems to want
>> some X-Windows values, however, I am building for Cocoa. Has anyone
>> successfully navigated these straits and has a recipe for successful
>> building and running (hopefully, using Java wrapping) on 10.2.1.
>>
>> Thanks,
>> Surajit
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages
>> on-topic. Check the FAQ at: >>
>> <http://public.kitware.com/cgi-bin/vtkfaq>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
More information about the vtkusers
mailing list