|
From: Stephen S. <sst...@ma...> - 2004-10-06 01:54:42
|
Hi, all! I have now installed the panther branch as suggested and, with 1.8.2, I =20= did have to modify gen_cocoa_wrapper.rb as John Labovitz suggested. I can now successuflly run gen_cocoa_wrapper.rb -- it generates two =20 files rb_Foundation.m and rb_AppKit.m. My recollection is that the =20 original directory contained quite a few files. When I try to run any of the demos I get something like: [Session started at 2004-10-05 21:45:28 -0400.] /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/oc_import.rb:22:in `module_eval': undefined method =20 `NSClassFromString' for OSX:Module (NoMethodError) from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/oc_import.rb:21:in `module_eval' from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/oc_import.rb:21:in `ns_import' from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/foundation.rb:5 from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/cocoa.rb:11:in `require' from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= objc/cocoa.rb:11 from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= cocoa.rb:11:in `require' from =20 /Library/Frameworks/RubyCocoa.framework/Versions/A/Resources/ruby/osx/=20= cocoa.rb:11 from =20 /Developer/Examples/RubyCocoa/Pong/build/Pong.app/Contents/Resources/=20 rb_main.rb:5:in `require' from =20 /Developer/Examples/RubyCocoa/Pong/build/Pong.app/Contents/Resources/=20 rb_main.rb:5 Executable =93rubyapp=94 has exited with status 1. Clues, anyone? Steve |