FUJIMOTO Hisa
fhisa****@users*****
Mon Oct 31 20:21:37 JST 2005
藤本です。 OS 10.4.2 + ruby 1.8.3 + xcode 2.0 + gcc-3.3 の環境でテストしてみたことに関して結果をアップします。一部サンプルが動きませんでした。とりあえず報告しておきます。 === osx-10.4.2 + ruby-1.8.3 確認して問題のなかったもの: $ cd tests; ruby testall.rb => OK (46 tests, 103 assertions, 0 failures, 0 errors) $ cd sample $ open SimpleApp.app => OK $ ruby fontnames.rb => OK $ ruby speak.rb < speak_me.txt => OK 動いたけど、警告がでたもの: $ cd RubyRaiseMan && rm -rf build $ xcodebuild clean build $ open build/RubyRaiseMan.app => OK 2005-10-31 20:05:42.263 RubyRaiseMan[4075] *** -[NSCFString isKindOf:]: ¥ warning: Object compatibility method has been executed at least once. ¥ Convert source code off it NOW! 動いたけど、NSView の警告が出たもの: $ ruby HelloWorld.rb 2005-10-31 19:53:16.733 ruby[3637] NSButton(0x4e7dd0) - ¥ NSView not correctly initialized. Did you forget to call super? 2005-10-31 19:53:16.772 ruby[3637] NSButton(0x4e9190) - ¥ NSView not correctly initialized. Did you forget to call super? <NSWindow: 0x4dd060>Hello, World! Hello again, World! $ ruby TransparentHello.rb 2005-10-31 19:53:38.021 ruby[3638] HelloView(0x4de1a0) - ¥ NSView not correctly initialized. Did you forget to call super? $ cd simpleapp && rm -rf build $ xcodebuild clean build $ build/SimpleApp.app => OK 2005-10-31 20:03:32.660 SimpleApp[3978] MyView(0x4f2a30) - ¥ NSView not correctly initialized. Did you forget to call super? 動かなかった: $ cd Pong && rm -rf build $ xcodebuild clean build $ open build/Pong.app 2005-10-31 20:10:23.067 Pong[4224] PlayingView(0x4f6520) - ¥ NSView not correctly initialized. Did you forget to call super? ¥ ...Resources/Model.rb:168:in `NSApplicationMain': NSApplicationMain - ¥ RBException_NoMethodError - ¥ undefined method `play' for nil:NilClass (OSX::OCException) from ...Resources/rb_main.rb:18 -- hisa