[vtkusers] 6.3.0 Compilation failure on OS X 10.10
Hari Nair
mcfiddish at gmail.com
Wed Dec 23 20:52:54 EST 2015
Hi All - I'm getting compilation errors with 6.3.0 on OS X 10.10. My cmake
line is
cmake -DVTK_WRAP_JAVA:BOOL=ON ../VTK-6.3.0
I get the same errors when I use
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
or
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
The errors are
In file included from
/Users/nairah1/local/src/VTK-6.3.0-build/Rendering/Core/vtkRenderWindowJava.mm:1417:
/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'?
JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JAWT_DrawingSurfaceInfo
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/include/jawt.h:170:3:
note: 'JAWT_DrawingSurfaceInfo' declared here
} JAWT_DrawingSurfaceInfo;
^
In file included from
/Users/nairah1/local/src/VTK-6.3.0-build/Rendering/Core/vtkRenderWindowJava.mm:1417:
/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:119:14:
error: use of undeclared identifier 'JAWT_MacOSXDrawingSurfaceInfo'
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
^
/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:119:44:
error: expected expression
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
^
/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:120:31:
error: no member named 'cocoaViewRef' in 'jawt_DrawingSurfaceInfo'
temp0->SetWindowId(dsi_mac->cocoaViewRef);
~~~~~~~ ^
/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'?
JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JAWT_DrawingSurfaceInfo
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/include/jawt.h:170:3:
note: 'JAWT_DrawingSurfaceInfo' declared here
} JAWT_DrawingSurfaceInfo;
^
In file included from
/Users/nairah1/local/src/VTK-6.3.0-build/Rendering/Core/vtkRenderWindowJava.mm:1417:
/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:220:14:
error: use of undeclared identifier 'JAWT_MacOSXDrawingSurfaceInfo'
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
^
/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:220:44:
error: expected expression
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
^
/Users/nairah1/local/src/VTK-6.3.0/Wrapping/Java/vtkJavaAwt.h:221:31:
error: no member named 'cocoaViewRef' in 'jawt_DrawingSurfaceInfo'
temp0->SetWindowId(dsi_mac->cocoaViewRef);
~~~~~~~ ^
8 errors generated.
make[2]: ***
[Rendering/Core/CMakeFiles/vtkRenderingCoreJava.dir/vtkRenderWindowJava.mm.o]
Error 1
make[1]: *** [Rendering/Core/CMakeFiles/vtkRenderingCoreJava.dir/all] Error
2
make: *** [all] Error 2
Any suggestions? VTK-7.0.0rc1 gave the same result.
Thanks,
Hari
--
How did the world look on the day you were born?
http://www.birthdayearth.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151223/a3b8d5cf/attachment.html>
More information about the vtkusers
mailing list