This is my old livejournal I found laying around my computer. I just thought, you know with my poetry and my seventh grade journal and everything, I could post is up here for posterity sake. I planned for this blog to be about my life and programming tutorials. I’m still working on the programming tutorials (as in, well, thinking about them). And all this old stuff, I guess is a good way to get to know me in a way. Mostly it helps me store stuff in a central location I want to look up later. So here goes. (Remember this is like 9-10 years ago):
Well, I’m trying to use rubycocoa on my OS X computer except I’m running panther with updated programming tools and it’s a server. So I have to modify some things around but now I’m just stuck. So I sent an e-mail to the author that says this:
I downloaded RubyCocoa-0.4.0 and have successfully installed it for Ruby 1.8 using all the steps that were in the instructions.
However, I’m not running 10.2 but rather 10.3 server.
I had to modify the install script so that pbxbuild now became xcodebuild. That worked alright.
Then I had to eliminate some particular constants (rb_NSGraphics.m -> AlphaEqualToData and AlphaAlwaysOne) (rb_NSSavePanel.m -> NSFileHandlingPanelImageButton, NSFileHandlingPanelTitleField, NSFileHandlingPanelBrowser, NSFileHandlingPanelForm, NSFileHandlingPanelHomeButton, NSFileHandlingPanelDiskButton, and NSFileHandlingPanelDiskEjectButton ) according to the release notes from Apple about Panther and AppKit.
I’m going to try go to through and according to the release notes update the rb_* source files for the framework, but there’s one thing I’m not understanding and I was hoping your experience with the project might shed some light on it. When I try to execute irb and type:
I get the error message:
objc: failed objc_getClasS(NSObject) for NSServicesPasteboard->isa->isa
objc: please link appropriate classes in your program
What do I do in this case to remedy this?
Thank you for your time,
Hopefully somebody will be able to help me.