<div dir="ltr">Hi All - I'm getting compilation errors with 6.3.0 on OS X 10.10. My cmake line is<div><br></div><div>cmake -DVTK_WRAP_JAVA:BOOL=ON ../VTK-6.3.0<br><div><br></div><div>I get the same errors when I use</div><div><br></div><div><div>cmake -DVTK_WRAP_JAVA:BOOL=ON -DVTK_JAVA_JOGL_COMPONENT:BOOL=ON -DJOGL_GLUE:FILEPATH=gluegen-rt.jar -DJOGL_LIB:FILEPATH=jogl-all.jar ../VTK-6.3.0</div></div><div><br></div><div>or</div><div><br></div><div>cmake -DVTK_WRAP_JAVA:BOOL=ON -DVTK_JAVA_JOGL_COMPONENT:BOOL=ON -DJOGL_GLUE:FILEPATH=gluegen-rt.jar -DJOGL_LIB:FILEPATH=jogl-all-noawt.jar ../VTK-6.3.0<br></div><div><br clear="all"><div>The errors are</div><div><br></div><div><div>In file included from /Users/nairah1/local/src/VTK-6.3.0-build/Rendering/Core/vtkRenderWindowJava.mm:1417:</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:118:3: error: unknown type name 'JAWT_MacOSXDrawingSurfaceInfo'; did you mean 'JAWT_DrawingSurfaceInfo'?</div><div> JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;</div><div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div> JAWT_DrawingSurfaceInfo</div><div>/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/include/jawt.h:170:3: note: 'JAWT_DrawingSurfaceInfo' declared here</div><div>} JAWT_DrawingSurfaceInfo;</div><div> ^</div><div>In file included from /Users/nairah1/local/src/VTK-6.3.0-build/Rendering/Core/vtkRenderWindowJava.mm:1417:</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:119:14: error: use of undeclared identifier 'JAWT_MacOSXDrawingSurfaceInfo'</div><div> dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;</div><div> ^</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:119:44: error: expected expression</div><div> dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;</div><div> ^</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:120:31: error: no member named 'cocoaViewRef' in 'jawt_DrawingSurfaceInfo'</div><div> temp0->SetWindowId(dsi_mac->cocoaViewRef);</div><div> ~~~~~~~ ^</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:219:3: error: unknown type name 'JAWT_MacOSXDrawingSurfaceInfo'; did you mean 'JAWT_DrawingSurfaceInfo'?</div><div> JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;</div><div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div> JAWT_DrawingSurfaceInfo</div><div>/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/include/jawt.h:170:3: note: 'JAWT_DrawingSurfaceInfo' declared here</div><div>} JAWT_DrawingSurfaceInfo;</div><div> ^</div><div>In file included from /Users/nairah1/local/src/VTK-6.3.0-build/Rendering/Core/vtkRenderWindowJava.mm:1417:</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:220:14: error: use of undeclared identifier 'JAWT_MacOSXDrawingSurfaceInfo'</div><div> dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;</div><div> ^</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:220:44: error: expected expression</div><div> dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;</div><div> ^</div><div>/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:221:31: error: no member named 'cocoaViewRef' in 'jawt_DrawingSurfaceInfo'</div><div> temp0->SetWindowId(dsi_mac->cocoaViewRef);</div><div> ~~~~~~~ ^</div><div>8 errors generated.</div><div>make[2]: *** [Rendering/Core/CMakeFiles/vtkRenderingCoreJava.dir/vtkRenderWindowJava.mm.o] Error 1</div><div>make[1]: *** [Rendering/Core/CMakeFiles/vtkRenderingCoreJava.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Any suggestions? VTK-7.0.0rc1 gave the same result.</div><div><br></div><div>Thanks,</div><div>Hari</div><div><br></div>-- <br><div class="gmail_signature">How did the world look on the day you were born?<br><a href="http://www.birthdayearth.com" target="_blank">http://www.birthdayearth.com</a><br></div>
</div></div></div>