[vtkusers] Errors in building VTK for Java on OS X 10.2.3 not present in OS X 10.1.x
Surajit Nundy
nundys at neuro.duke.edu
Fri Feb 7 11:10:56 EST 2003
Hello,
I get the following errors when I try to turn on Java wrapping for VTK
in OS X 10.2.3. This is using the DP9 release of the JDK 1.4.1 (very
close to release version).
Building object file vtkRenderWindowJava.o...
In file included from
/Users/sn10/Develop/JanCarbonVTK/Rendering/vtkRenderWindowJava.cxx:1105:
/Users/sn10/Develop/source/VTK/Common/vtkJavaAwt.h: In function `jint
Java_vtk_vtkPanel_RenderCreate(JNIEnv*, _jobject*, _jobject*)':
/Users/sn10/Develop/source/VTK/Common/vtkJavaAwt.h:86: `
JAWT_MacDrawingSurfaceInfo' undeclared (first use this function)
/Users/sn10/Develop/source/VTK/Common/vtkJavaAwt.h:86: (Each undeclared
identifier is reported only once for each function it appears in.)
/Users/sn10/Develop/source/VTK/Common/vtkJavaAwt.h:86: `dsi_mac'
undeclared
(first use this function)
/Users/sn10/Develop/source/VTK/Common/vtkJavaAwt.h:87: parse error
before `)'
token
make[3]: *** [vtkRenderWindowJava.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2
Funnily, I have worked with the vtkJavaAwt.h on OS X 10.1.x before, and
these files have worked quite well. Since VTK is the only software
keeping my machine in 10.1.x, I would like to fix this. Has anyone
else fixed this problem?
Thanks,
Surajit Nundy
More information about the vtkusers
mailing list