Hi,<br><br><br>I&#39;m trying to compile VTK 5.2 with &quot;VTK_WRAP_JAVA&quot; ON.<br>I generate the makefile with CMake, but when I compile, I have an error at 43% of the installation.<br><br><span style="font-family: courier new,monospace;">Linking CXX shared library ../bin/libvtkRenderingJava.dll</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Creating library file: ../bin/libvtkRenderingJava.dll.a</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CMakeFiles/vtkRenderingJava.dir/vtkRenderWindowJava.obj:vtkRenderWindowsJava.cxx:(.text+0x23eb): undefined reference to &#39;_imp__JAWT_GetAWT@8&#39;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">CMakeFiles/vtkRenderingJava.dir/vtkRenderWindowJava.obj:vtkRenderWindowsJava.cxx:(.text+0x2597):
undefined reference to &#39;_imp__JAWT_GetAWT@8&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CMakeFiles/vtkRenderingJava.dir/vtkRenderWindowJava.obj:vtkRenderWindowsJava.cxx:(.text+0x26c3):
undefined reference to &#39;_imp__JAWT_GetAWT@8&#39;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">collect2: ld returned 1 exit status</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[2]: *** [bin/libvtkRenderingJava.dll] Error 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: *** [Rendering/CMakeFiles/vtkRenderingJava.dir/all] Error 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make: *** [all] Error 2</span><br><br><br>But I think my JAVA_AWT path is correctly defined in the CMakeCache : <br><br>//Path to a library.<br>JAVA_AWT_LIBRARY:FILEPATH=C:/Program Files/Java/jdk1.6.0_10/lib/jawt.lib<br>
<br><br>Do you have an idea to help me ?<br><br><br>Thank you very much in advance.<br><br><br><br>Stéphane<br><br><br><br>PS: I am on Windows XP 64-bit, I use MinGW &amp; MSys.