<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello VTK users,<div><br class="webkit-block-placeholder"></div><div>I want install vtk for java on my Mac OS,but there is something wrong with what I did.</div><div>The following steps I did. Folks let me know if there are any mistakes with the following. thanks</div><div><br class="webkit-block-placeholder"></div><div>STEP 1: look at my java's version</div><div><br class="webkit-block-placeholder"></div><div><div>java version "1.6.0_04-dp"</div><div>Java(TM) SE Runtime Environment (build 1.6.0_04-dp-b06-110)</div><div>Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_04-b12-45-optimized, mixed mode)</div><div><br class="webkit-block-placeholder"></div><div>STEP 2: I had download vtk by cvs</div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; font-size: 11px; "><pre><i>cvs -d :pserver:<a href="http://www.vtk.org/mailman/listinfo/vtkusers">anonymous at public.kitware.com</a>:/cvsroot/VTK login
</i><i>(respond with password vtk)
</i><i>
</i><i>cvs -d :pserver:<a href="http://www.vtk.org/mailman/listinfo/vtkusers">anonymous at public.kitware.com</a>:/cvsroot/VTK
</i><i>checkout VTK</i></pre><pre><i>STEP 3:</i></pre><pre><i>1)<span class="Apple-tab-span" style="white-space:pre">        </span>cd $/vJavaBuild</i></pre><pre><i>2)<span class="Apple-tab-span" style="white-space:pre">        </span>type cmake ../VTK</i></pre><pre><i>3)<span class="Apple-tab-span" style="white-space:pre">        </span>type ccmake ../VTK</i></pre><pre><i>4)<span class="Apple-tab-span" style="white-space:pre">        </span>edit the list of options like following </i></pre><pre><i> BUILD_EXAMPLES ON
BUILD_SHARED_LIBS ON
CMAKE_BACKWARDS_COMPATIBILITY 2.4
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local
CMAKE_OSX_ARCHITECTURES i386
CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk
VTK_DATA_ROOT /Users/wells/VTK/../VTKData
VTK_NO_PYTHON_THREADS OFF
VTK_USE_BOOST OFF
VTK_USE_CARBON OFF
VTK_USE_COCOA ON
VTK_USE_FFMPEG_ENCODER OFF
VTK_USE_INFOVIS ON
VTK_USE_METAIO ON
VTK_USE_MPEG2_ENCODER OFF
VTK_USE_MYSQL OFF
VTK_USE_PARALLEL OFF
VTK_USE_POSTGRES OFF
VTK_USE_RENDERING ON</i></pre><pre><i> VTK_USE_RPATH OFF </i></pre><pre><i> VTK_USE_VIEWS ON
VTK_USE_X OFF
VTK_WRAP_JAVA ON
VTK_WRAP_PYTHON OFF
VTK_WRAP_TCL OFF</i></pre><pre><i>5)<span class="Apple-tab-span" style="white-space:pre">        </span>type c</i></pre><pre><i>type t for advanced options: change the following</i></pre><pre><i>JAVA_AWT_INCLUDE_PATH /System/Library/Frameworks/JavaEmbedding.framework/Versions/Current/Headers</i></pre><pre><i>JAVA_INCLUDE_PATH /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers </i></pre><pre><i>JAVA_INCLUDE_PATH2 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers</i></pre><pre><i>6)<span class="Apple-tab-span" style="white-space:pre">        </span>type c then type g</i></pre><pre><i>7)<span class="Apple-tab-span" style="white-space:pre">        </span>make </i></pre><pre><i><br class="webkit-block-placeholder"></i></pre><pre><i>8)<span class="Apple-tab-span" style="white-space:pre">        </span>error message following</i></pre><pre><i>Linking CXX shared library ../bin/libvtkRenderingJava.dylib
Undefined symbols:
"_JAWT_GetAWT", referenced from:
_Java_vtk_vtkPanel_RenderCreate in vtkRenderWindowJava.o
_Java_vtk_vtkPanel_Lock in vtkRenderWindowJava.o
_Java_vtk_vtkPanel_UnLock in vtkRenderWindowJava.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [bin/libvtkRenderingJava.5.1.0.dylib] Error 1
make[1]: *** [Rendering/CMakeFiles/vtkRenderingJava.dir/all] Error 2</i><i>
</i></pre><pre><br></pre><pre><i>Can anyone help me! thanks</i></pre><div><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="white-space: pre;"><i><br class="webkit-block-placeholder"></i></span></font></div><pre><i><br class="webkit-block-placeholder"></i></pre></span></div></div></body></html>