Howto get the Squeak ObjC bridge working? (was Re: (no subject))

Aaron J Reichow reic0024 at
Sun Jan 5 06:25:21 UTC 2003



  Aaron Reichow  ::  UMD ACM Pres  ::
"the only difference it makes if some dust on the clay"  :: atmosphere

On Sat, 4 Jan 2003, Aaron J Reichow wrote:

> Hello!
> Does anyone here have experience getting the Objective-C Squeak bridge
> working? I downloaded the 3.2.4 CocoaSqueak VM and the Objc-Bridge.1.cs
> file in the same folder and am using these on OS X 10.2.2. I downloaded t
> file called "CocoaSqueak-3.2.4.dmg " and when installed, reports to have
> been modified on 2 Dec 02, but it reports itself to be version 3.2.3.
> (Curiously enough, when I attempt to download the real 3.2.3 by clicking
> on it in the download section, my web browsers report that it is being
> sent a file with the suffix "3.2.4.")
> If I try the examples, ObjcBridge>>#loadBundle: and
> ObjcBridge>>#pdfAsMorph:, it fails with MNU:  #objcToSqueak: being sent
> to an instance of ObjcBridge.  Same thing if I try it with a snippet of
> my own code, for instance:
> | b nsImageC |
> b := ObjcBridge new initialize.
> nsImageC := b getClass: 'NSImage'.
> nsImageC alloc.
> I tried it on Squeak 3.2gamma #4827.  The Objc-Bridge.1.cs to be found at
> Metaobject was filed out at #4743 in 3.2gamma. I'm guessing it's not an
> image version issue.
> Anyone know a combination to get this puppy working so that I can put up a
> pdf2x (where x = {png, jpeg, gif} ) converter for the the Squeakers of the
> world to view PDFs from with Squeak?
> The mentioned bridge changeset and VM were obtained at:
> Regards,
> Aaron
>   Aaron Reichow  ::  UMD ACM Pres  ::
> "Like the creators of sitcoms or junk food or package tours, Java's designers were
> consciously designing a product for people not as smart as them."  ::  paul graham

More information about the Squeak-dev mailing list