[vtkusers] Re: VTK on Mac OS X 10.2.3 with Java wrapping

Surajit Nundy nundys at neuro.duke.edu
Tue Feb 18 13:32:01 EST 2003


Hi.

I have built  VTK with the Java 1.4.1 DP 10 headers.  Currently, I 
can't even run any of the Examples/  like Cone.java.  I get a "Bus 
error" when vtk.vtkPolyData tries to initialize.  This seems 
reminiscent of errors I used to get when trying to set the output of a 
vtkPolyDataMapper class to a vtkActor, say.

  I am building with the Java 1.3.1 headers, because that used to work 
on 10.1.x. (but I could never run anything with vtkPanel in it, so I 
used non-thread-safe classes for Rendering) and because it seems to 
have worked for you.

I am copying this to the vtkusers list if there is someone who can help 
us.

Surajit Nundy
On Tuesday, February 18, 2003, at 11:05  AM, Carlos Martínez Burgos 
wrote:

> Hi.
>
> At the moment I've built VTK nightly with java wrapper on a clean
> installation of MacOS X 10.2.3. Even so I can't use any java sample
> program that use vtkPanel because when I run them no interaction is
> allowed. I don't know how exactly happen but I think it is because I 
> have
> built VTK with Carbon instead of Cocoa. I don't know to solve this 
> problem
> so if you know it I'll be pleased to you if you tell me how.
>
> Despite of this, I can run examples that don't use vtkPanel, like 
> those in
> Examples/Tutorial dirs.
>
> I'm using jdk 1.3 as is installed from last December developer tools. 
> Are
> you using JDK1.4 pre-release? Could this solve the problem? What do you
> think?
>
> Have your tried to build VTK using X11 from Apple instead of Carbon and
> Cocoa? I've not tried but if this solves my problem I'll install it.
>
> Some days ago I sent a mail with the steps I have followed to build 
> VTK.
> You can look at them if you want.
>
> Thank you for your answer.
>
>
> On Mon, 17 Feb 2003, Surajit Nundy wrote:
>
>> Hi,
>> 	I saw your posts on the mailing lists.  I have had the same problem
>> for some time (which is why I have to use 10.1.x).  Currently, I can
>> build VTK with Java wrapping successfully on 10.2.3 (maybe .4).
>> However, I cannot get any window to show or any other desired 
>> behavior.
>>   Since I can do this on 10.1.5 quite easily, I'd like to be able to 
>> do
>> it on 10.2.4.  Have either of you had any success with this? If so
>> could you tell me how? If not, can we pool resources to fix this?
>>
>> Thanks,
>> Surajit Nundy
>>
>
> -- 
> ----------------------------------------------------------------------
> Carlos Martínez Burgos      |     Instituto Tecnológico de Informática
> Ingeniero Informático       |      Universidad Politécnica de Valencia
> Tlf: +34 963877237          |                        Camí de Vera, S/N
> cmarbur at iti.upv.es          |                   46071 Valencia - Spain
> www.iti.upv.es/~cmarbur     |                           www.iti.upv.es
> ----------------------------------------------------------------------
>
>




More information about the vtkusers mailing list