<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi I don't think your pointing to the correct OpenGL libraries. Take a look at the tutorial I wrote for compiling VTK with Java Wrappings for Tiger:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Vivek</DIV><DIV><BR class="khtml-block-placeholder"></DIV><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="">Compiling VTK 5.0 for OS X Tiger 10.4.x with Java Wrappings<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style=""> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style=""><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>STEP 1:</B></SPAN></FONT><SPAN style="mso-spacerun: yes"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B> </B></SPAN></FONT></SPAN><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>Downloading Software</B></SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">1. Java:<SPAN style="mso-spacerun: yes"> </SPAN>Make sure your JAVA is update go to your terminal app and type:<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">java -version<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">You should have at least build 1.5<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">2.<SPAN style="mso-spacerun: yes"> </SPAN>Download the CMAKE Darwin Universal binary (Tiger only installer ) from:<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"><A href="http://www.cmake.org/HTML/Download.html">http://www.cmake.org/HTML/Download.html</A><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">Install CMAKE by double clicking on the icon<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">3. Download the VTK source from:<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"><SPAN style="mso-spacerun: yes"> </SPAN><A href="http://vtk.org/get-software.php">http://vtk.org/get-software.php</A> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">(Note:<SPAN style="mso-spacerun: yes"> </SPAN>The Latest Release (5.0.0) does not allow the java wrapping to work you need to get the source code via the CVS source-code repository)<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">Open the terminal app.<SPAN style="mso-spacerun: yes"> </SPAN>cd to /Users/user-name<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica">type the following:<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-size:13.0pt; font-family:Courier-Bold"><FONT class="Apple-style-span" face="Courier-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>cvs -d :pserver:<A href="mailto:anonymous@public.kitware.com">anonymous@public.kitware.com</A>:/cvsroot/VTK login </B></SPAN></FONT></SPAN><SPAN style="font-size:16.0pt;font-family:Times-Roman"><FONT class="Apple-style-span" face="Times-Roman" size="6"><SPAN class="Apple-style-span" style="font-size: 21.3333px;">
(respond with password </SPAN></FONT></SPAN><SPAN style="font-size:13.0pt;font-family:Courier-Bold"><FONT class="Apple-style-span" face="Courier-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>vtk</B></SPAN></FONT></SPAN><SPAN style="font-size:16.0pt;font-family:Times-Roman"><FONT class="Apple-style-span" face="Times-Roman" size="6"><SPAN class="Apple-style-span" style="font-size: 21.3333px;">)</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;tab-stops:.5in 1.0in 1.5in 2.0in 2.5in 3.0in 3.5in 4.0in 4.5in 5.0in 5.5in 6.0in; mso-layout-grid-align:none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier-Bold"><FONT class="Apple-style-span" face="Courier-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>cvs -d :pserver:<A href="mailto:anonymous@public.kitware.com">anonymous@public.kitware.com</A>:/cvsroot/VTK checkout VTK</B></SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">You will see the source code and corresponding folders downloading in to a new folder called VTK<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">cd to that folder in my case the folder path is /Users/vivekd/VTK<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>STEP 2: Compiling VTK</B></SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">1) Type ccmake ../vtk<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">2) Type c <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">3) Edit the list of options with the following:<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">BUILD_EXAMPLES<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ON<SPAN style="mso-spacerun: yes"> </SPAN>BUILD_SHARED_LIBS<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ON<SPAN style="mso-spacerun: yes"> </SPAN>CMAKE_BACKWARDS_COMPATIBILITY<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>2.4<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>CMAKE_BUILD_TYPE<SPAN style="mso-spacerun: yes"> </SPAN>CMAKE_INSTALL_PREFIX<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>/usr/local<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>CMAKE_OSX_ARCHITECTURES<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ppc<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>CMAKE_OSX_SYSROOT<SPAN style="mso-spacerun: yes"> </SPAN>/Developer/SDKs/MacOSX10.4u.sdk<SPAN style="mso-spacerun: yes"> </SPAN>VTK_DATA_ROOT<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>VTK_DATA_ROOT-NOTFOUND<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_CARBON<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>OFF<SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_COCOA<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>OFF<SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_FFMPEG_ENCODER<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>OFF<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_PARALLEL<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>OFF<SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_RENDERING<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ON<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_RPATH<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ON<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>VTK_USE_X<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ON<SPAN style="mso-spacerun: yes"> </SPAN>VTK_WRAP_JAVA<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>ON<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN>VTK_WRAP_PYTHON<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>OFF<SPAN style="mso-spacerun: yes"> </SPAN>VTK_WRAP_TCL<SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-tab-count: 2"> </SPAN><SPAN style="mso-tab-count:1"> </SPAN>OFF<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">4) Type c<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">5) Type t for advanced options:<SPAN style="mso-spacerun: yes"> </SPAN>Change the following<O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVACOMMAND</SPAN></FONT><SPAN style="mso-spacerun: yes"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT></SPAN><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_ARCHIVE</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/jar</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_AWT_INCLUDE_PATH</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Headers</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_AWT_LIBRARY</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">-framework JavaVM -framework JavaEmbedding</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_COMPILE</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/javac</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_INCLUDE_PATH</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Headers</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_INCLUDE_PATH2</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Headers</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">JAVA_RUNTIME</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">OPENGL_INCLUDE_DIR:PATH=/usr/X11R6/include</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">OPENGL_gl_LIBRARY:STRING=-framework OpenGL</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="mso-pagination:none;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"> </SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">OPENGL_glu_LIBRARY:STRING=-framework AGL</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Courier"><FONT class="Apple-style-span" face="Courier" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;">6) Type c then Type g</SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>STEP 3:</B></SPAN></FONT><SPAN style="mso-spacerun: yes"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B> </B></SPAN></FONT></SPAN><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>Editing build.make</B></SPAN></FONT><O:P></O:P></SPAN></P><OL style="margin-top:0in" start="1" type="1"><LI class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none; mso-list:l0 level1 lfo1;tab-stops:list .5in;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-family:Helvetica">Go to<SPAN style="mso-spacerun: yes"> </SPAN>VTK/Wrapping/Java/CMakeFiles/VTKBuildAll.dir/<O:P></O:P></SPAN></LI><LI class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none; mso-list:l0 level1 lfo1;tab-stops:list .5in;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-family:Helvetica">Using Text edit open the build.make file<O:P></O:P></SPAN></LI><LI class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none; mso-list:l0 level1 lfo1;tab-stops:list .5in;mso-layout-grid-align:none; text-autospace:none"><SPAN style="font-family:Helvetica">Change the following: <O:P></O:P></SPAN></LI></OL><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">cd /Users/vivekd/vtk/Wrapping/Java && /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/javac -classpath /Users/vivekd/vtk/java/vtk/.. -d /Users/vivekd/vtk/java/vtk/.. /Users/vivekd/vtk/java/vtk/vtkBuildAllDriver.java<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">to <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">cd /Users/vivekd/vtk/Wrapping/Java && /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/javac </SPAN><SPAN style="font-size:16.0pt;font-family:Helvetica"><FONT class="Apple-style-span" size="6"><SPAN class="Apple-style-span" style="font-size: 21.3333px;"><B>-J-Xmx256m</B></SPAN></FONT></SPAN><SPAN style="font-family:Helvetica"> -classpath /Users/vivekd/vtk/java/vtk/.. -d /Users/vivekd/vtk/java/vtk/.. /Users/vivekd/vtk/java/vtk/vtkBuildAllDriver.java<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>STEP 4:</B></SPAN></FONT><SPAN style="mso-spacerun: yes"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B> </B></SPAN></FONT></SPAN><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>MAKE</B></SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">At the command prompt in your terminal application go to the VTK directory in my case it is at /Users/vivekd/VTK<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">Type <B>make</B></SPAN><SPAN style="font-family:Helvetica"> and wait, on a MAC G5 it takes about 25 minutes to build the application.<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-size:13.0pt;font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>STEP 5:</B></SPAN></FONT><SPAN style="mso-spacerun: yes"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B> </B></SPAN></FONT></SPAN><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>Editing or creating .tcshrc</B></SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">My shell is the T shell.<SPAN style="mso-spacerun: yes"> </SPAN><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">You need to tell java where your .dylib and vtk.jar file is located<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">1) If you don’t have a .tcshrc file type emacs .tcshrc file<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">2) Add the following lines<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">setenv DYLD_LIBRARY_PATH /Users/vivekd/VTK/bin<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">setenv CLASSPATH .:/Users/vivekd/VTK/bin/vtk.jar<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">don’t forget the .: before the path to the vtk.jar file<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">3) exit emacs by typing ctrl x then ctrl c it will ask you if you want to save type y and hit return<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">4) at the command prompt type source .tcshrc<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica">5) check to see if the paths were added by typing env<O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"><SPAN style="mso-spacerun: yes"> </SPAN></SPAN><SPAN style="font-size:13.0pt; font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>STEP 6:</B></SPAN></FONT><SPAN style="mso-spacerun: yes"><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B> </B></SPAN></FONT></SPAN><FONT class="Apple-style-span" face="Helvetica-Bold" size="5"><SPAN class="Apple-style-span" style="font-size: 17.3333px;"><B>Testing with an example</B></SPAN></FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold">Make sure you are in X11</FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold">Go to the Java examples which are located at /Users/vivekd/VTK/Examples/Tutorials/Step*/Java</FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold">Type javac Step*.java</FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold">Type java Step*</FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold">* = 1,2,3,4,5</FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica-Bold"><FONT class="Apple-style-span" face="Helvetica-Bold"> </FONT><O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"><SPAN style="font-family:Helvetica"> <O:P></O:P></SPAN></P><P class="MsoNormal" style="margin-bottom:16.0pt;mso-pagination:none;mso-layout-grid-align: none;text-autospace:none"> <O:P></O:P></P><DIV><BR><DIV><DIV>On Jul 10, 2006, at 11:56 AM, Martin Baumann wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</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; ">I get the following errors compiling VTK-5.0 on a Mac system:</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; ">.../Rendering/vtkgl.h error: 'Display' was not declared in this scope</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">.../Rendering/vtkgl.h error: 'dpy' was not declared in this scope</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">.../Rendering/vtkgl.h error: expected primary-expression before "drawable"</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">.../Rendering/vtkgl.h error: expected primary-expression before "target_sbc"</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; ">Did anyone have similar problems?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Any ideas what to do?</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; ">Regards, M.B.</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. 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></BODY></HTML>