[vtkusers] Re: problems wrapping java in macosx 10.2.8 (Albert)

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed May 19 06:16:56 EDT 2004


Hi,

	Did you read the bug report:

http://vtk.org/Bug/bug.php?op=show&bugid=619&pos=4

Be sure to use something like:

export CLASSPATH=~/Programs/VTK-gcc-carbon/bin/vtk.jar:.
export DYLD_LIBRARY_PATH=~/Programs/VTK-gcc-carbon/bin
export LD_LIBRARY_PATH=~/Programs/VTK-gcc-carbon/bin

HTH
Mathieu

Robert.Nelson at tessella.com wrote:
> 
> Tessella Ref: NPD/3797/PR/TN/2004MAY19/11:10:31
> 
> Hi,
> 
> I tried to use VTK and Java with MacOX 10.2.8 some time ago. After a lot 
> of messing about I got VTK 4.2 to build with Java 1.4.1. This involved 
> hacking the code to fix one of the headers but I thought that fix was 
> incorporated into the VTK source
> 
>  > in VTK/Common/vtkJavaAwt.h change lines 86 through 88 from:-
>  >
>  > JAWT_MacDrawingSurfaceInfo* dsi_mac;
>  >    dsi_mac = (JAWT_MacDrawingSurfaceInfo*)dsi->platformInfo;
>  >    temp0->SetWindowId((void *)dsi_mac->fQDWindow);
>  >
>  > to:-
>  >
>  > JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
>  >    dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
>  >    temp0->SetWindowId((void *)dsi_mac->cgWindowID);
> 
> Unfortunately I never got anything that would run. Even the simple cone 
> drawing examples refused to work (crashed, hung, drew the window and 
> deleted it before drawing the cone on the desk top...). I don't have the 
> knowledge of the Mac needed to debug it so I gave up. If you figure out 
> how to get it working please let me know!
> 
> Rob Nelson
> 
> 
> This message is confidential and may be privileged. It is intended for 
> the addressee(s) only. Access to this message by anyone else is 
> unauthorized and strictly prohibited. If you have received this message 
> in error, please inform the sender immediately.   Please note that 
> messages sent or received by the Tessella e-mail system may be monitored 
> and stored in an information retrieval system.
> 
> TESSELLA   Robert.Nelson at tessella.com
> __/__/__/  Tessella Support Services plc
> __/__/__/  3 Vineyard Chambers, ABINGDON, OX14 3PX, England
> __/__/__/  Tel: (44)(0)1235-555511  Fax: (44)(0)1235-553301
>                    www.tessella.com    Registered in England No. 1466429






More information about the vtkusers mailing list