<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV>Good Day -<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I successfully compiled and run the system</DIV><DIV>on a mac/intel.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This may help</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>> On Jan 29, 2007, at 2:05 PM, David Cole wrote:</DIV><DIV>>></DIV><DIV>>></DIV><DIV>>> Kenneth Sloan, if you're still reading this thread, try this on </DIV><DIV>>> your Mac build of VTK:</DIV><DIV>>> - cd into your binary directory</DIV><DIV>>> - type "ccmake ." and hit return (or full path to ccmake if it's </DIV><DIV>>> not in your env PATH)</DIV><DIV>>> - type "t" to toggle to see advanced settings (t again to hide them)</DIV><DIV>>> - scroll down and set the following settings:</DIV><DIV>>> - JAVA_AWT_LIBRARY should be "-framework JavaVM"</DIV><DIV>>> - JAVA_AWT_INCLUDE_PATH should be something like "/System/Library/ </DIV><DIV>>> Frameworks/JavaVM.framework/Headers"</DIV><DIV>I decided to give up on VTK/Java because the documentation</DIV><DIV>is not good enough.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Mar 15, 2007, at 9:56 AM, Sean McBride wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 2007-03-15 08:27, David Cole said:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Sean and Marty,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It is quite possible to build VTK with Java wrappings on an intel mac,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">you just have to avoid the incorrect *default* setting of using the</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"JavaEmbedding" framework. If, after configuring with ccmake, you go</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">through and change all the advanced settings that reference</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">JavaEmbedding to reference JavaVM instead, then it works.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It isn't that "it doesn't work" -- it just doesn't work without</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">changing some incorrect default settings.</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ack!<SPAN class="Apple-converted-space"> </SPAN>You are of course quite right.<SPAN class="Apple-converted-space"> </SPAN>I never really got my head around</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">this java bug, and don't know java at all, so I should probably keep quiet. :)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Marty, if you check the archives from a few weeks ago, you can find</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">workarounds for the problem and how to set things up so they build.<SPAN class="Apple-converted-space"> </SPAN>If</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">you decide to go the java route that is...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">____________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Sean McBride, B. Eng <SPAN class="Apple-converted-space"> </SPAN><A href="mailto:sean@rogue-research.com">sean@rogue-research.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Rogue Research<SPAN class="Apple-converted-space"> </SPAN>www.rogue-research.com</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Mac Software Developer<SPAN class="Apple-converted-space"> </SPAN>Montréal, Québec, Canada</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This is the private VTK discussion list.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please keep messages on-topic. Check the FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Follow this link to subscribe/unsubscribe:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-hp</DIV><DIV><BR></DIV><DIV>================ alea iacta est!================</DIV><DIV>Dr. H-P. Bischof, Dept. of Computer Science, RIT,</DIV><DIV>102 Lomb Memorial Drive Rochester, NY 14623-5608, </DIV><DIV>USA, Phone: 585 475 5568, <A href="http://www.cs.rit.edu/~hpb">www.cs.rit.edu/~hpb</A></DIV><DIV>===========================================</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>