<br><font size=2 face="sans-serif">Tessella Ref: NPD/3797/PR/TN/2004MAY19/11:10:31<br>
<br>
Hi,</font>
<br>
<br><font size=2 face="sans-serif">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</font>
<br>
<br><font size=2 face="sans-serif">&gt; in VTK/Common/vtkJavaAwt.h change lines 86 through 88 from:-</font>
<br><font size=2 face="sans-serif">&gt; </font>
<br><font size=2 face="sans-serif">&gt; JAWT_MacDrawingSurfaceInfo* dsi_mac;</font>
<br><font size=2 face="sans-serif">&gt; &nbsp; &nbsp;dsi_mac = (JAWT_MacDrawingSurfaceInfo*)dsi-&gt;platformInfo;</font>
<br><font size=2 face="sans-serif">&gt; &nbsp; &nbsp;temp0-&gt;SetWindowId((void *)dsi_mac-&gt;fQDWindow);</font>
<br><font size=2 face="sans-serif">&gt; </font>
<br><font size=2 face="sans-serif">&gt; to:-</font>
<br><font size=2 face="sans-serif">&gt; </font>
<br><font size=2 face="sans-serif">&gt; JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;</font>
<br><font size=2 face="sans-serif">&gt; &nbsp; &nbsp;dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi-&gt;platformInfo;</font>
<br><font size=2 face="sans-serif">&gt; &nbsp; &nbsp;temp0-&gt;SetWindowId((void *)dsi_mac-&gt;cgWindowID);</font>
<br>
<br><font size=2 face="sans-serif">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!</font>
<br>
<br><font size=2 face="sans-serif">Rob Nelson</font>
<br><font size=2 face="sans-serif"><br>
<br>
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. &nbsp; Please note that messages sent or received by the Tessella e-mail system may be monitored and stored in an information retrieval system.<br>
<br>
TESSELLA &nbsp; Robert.Nelson@tessella.com<br>
__/__/__/ &nbsp;Tessella Support Services plc<br>
__/__/__/ &nbsp;3 Vineyard Chambers, ABINGDON, OX14 3PX, England<br>
__/__/__/ &nbsp;Tel: (44)(0)1235-555511 &nbsp;Fax: (44)(0)1235-553301<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;www.tessella.com &nbsp; &nbsp;Registered in England No. 1466429<br>
</font>