[vtkusers] java vtk macosx
Jens Frederich
jfrederich at mac.com
Wed Nov 17 01:21:48 EST 2004
Hi all,
I would build vtk4.4 on macosx. But it does run on a error.
What is my problem please.
Jens
Here the output:
Building dependencies. cmake.depends...
/Volumes/neosun/Desktop/VTK/IO: building default_target
Building dependencies. cmake.depends...
/Volumes/neosun/Desktop/VTK/Rendering: building default_target
Building dependencies. cmake.depends...
Building object file vtkRenderWindowJava.o...
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5,
from
/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:8,
from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:56: error: parse
error before `@' token
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:58: error: syntax
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:59: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:59: error: `
aSelectorName' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:60: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:60: error: `
aClassName' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:61: error: syntax
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:64: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:64: error: `
format' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:64: error: parse
error before `...' token
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:65: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:65: error: `
format' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/
NSObjCRuntime.h:65: error: parse
error before `)' token
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6,
from
/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:8,
from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:7:
error: parse
error before `@' token
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:14:
error: type
specifier omitted for parameter `NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:14:
error: parse
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:15:
error: syntax
error before `*' token
In file included from
/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:8,
from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:
error: parse
error before `@' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:116:
error: `
NSObject' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:116:
error: non-template
type `id' used as a template
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:118:
error: `
NSObject' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:118:
error: non-template
type `id' used as a template
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:118:
error: `
NSObject' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:118:
error: non-template
type `id' used as a template
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:120:
error: `
NSObject' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:120:
error: non-template
type `id' used as a template
In file included from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:8,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
error: parse
error before `@' token
In file included from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:9,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
116: error: syntax
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
117: error: syntax
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
118: error: syntax
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
119: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
119: error: `
aString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
120: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
120: error: `
aString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
121: error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
121: error: `
aString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:
123: error: parse
error before `@' token
In file included from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:10,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:37:
error: syntax
error before `*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:38:
error: `
NSString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:38:
error: `
aString' was not declared in this scope
/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:40:
error: parse
error before `@' token
In file included from
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:12,
from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:65:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:66:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:67:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:68:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:69:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:70:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:71:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:72:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:73:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:74:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:80:
error: `
NSString' was not declared in this scope
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:80:
error: `
colorSpace' was not declared in this scope
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:80:
error: parse
error before `,' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:82:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:85:
error: `
NSString' was not declared in this scope
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:85:
error: `
colorSpaceName' was not declared in this scope
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:99:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:100:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:101:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:102:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:103:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:104:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:112:
error: type
specifier omitted for parameter `NSColor'
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:112:
error: parse
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:115:
error: type
specifier omitted for parameter `NSColor'
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:115:
error: parse
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:127:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:128:
error: type
specifier omitted for parameter `NSString'
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:128:
error: parse
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:138:
error: type
specifier omitted for parameter `NSString'
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:138:
error: parse
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:140:
error: type
specifier omitted for parameter `NSColor'
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:140:
error: parse
error before `*' token
In file included from
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:11,
from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:14: error:
parse
error before `@' token
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:89: error:
parse
error before `@' token
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:96: error:
syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:111:
error: parse
error before `}' token
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:334:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:335:
error: syntax
error before `*' token
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:337:
error: syntax
error before `*' token
In file included from
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:16,
from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
jawt_md.h:19: error: syntax
error before `*' token
In file included from
/Volumes/neosun/Desktop/VTK/Rendering/vtkRenderWindowJava.cxx:1174:
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h: In function `jint
Java_vtk_vtkPanel_RenderCreate(JNIEnv*, _jobject*, _jobject*)':
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:106: error: `
JAWT_MacDrawingSurfaceInfo' undeclared (first use this function)
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:106: error: (Each
undeclared
identifier is reported only once for each function it appears in.)
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:106: error: `dsi_mac'
undeclared (first use this function)
/Volumes/neosun/Desktop/VTK/Common/vtkJavaAwt.h:107: error: 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
More information about the vtkusers
mailing list