librelist archives

« back to archive

Shoes on OS X 10.6

Shoes on OS X 10.6

From:
Devyn Cairns
Date:
2010-03-13 @ 19:31
So, I've done a bit of an investigation on getting Shoes to build on 10.6
(Snow Leopard).

Undefined symbols:
  "_GetWindowPort", referenced from:
      _shoes_native_surface_new in cocoa.o
  "_ATSFontActivateFromFileSpecification", referenced from:
      _shoes_load_font in cocoa.o

Google tells me that the reason why it won't build is because any Carbon
apps have to be built completely 32-bit, because you can't link Carbon in to
an x86_64 app.

I think it would be reasonable to start working on a completely Cocoa
version of the OS X-specific code. It's already using Objective-C. The code
looks fairly straightforward.

-- 
   ~devyn

Re: [shoes] Shoes on OS X 10.6

From:
i5m
Date:
2010-03-16 @ 16:47
Regarding GetWindowPort see this comment on issue 14:
http://github.com/shoes/shoes/issues#issue/14/comment/128753

It links to this thread:
http://jwz.livejournal.com/1077605.html?thread=20081509

<http://jwz.livejournal.com/1077605.html?thread=20081509>I've not looked at
this in detail, but basically there isn't a drop-in Cocoa function
replacement.

-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Sat, Mar 13, 2010 at 7:31 PM, Devyn Cairns <devyn.cairns@gmail.com>wrote:

> So, I've done a bit of an investigation on getting Shoes to build on 10.6
> (Snow Leopard).
>
> Undefined symbols:
>   "_GetWindowPort", referenced from:
>       _shoes_native_surface_new in cocoa.o
>   "_ATSFontActivateFromFileSpecification", referenced from:
>       _shoes_load_font in cocoa.o
>
> Google tells me that the reason why it won't build is because any Carbon
> apps have to be built completely 32-bit, because you can't link Carbon in to
> an x86_64 app.
>
> I think it would be reasonable to start working on a completely Cocoa
> version of the OS X-specific code. It's already using Objective-C. The code
> looks fairly straightforward.
>
> --
>    ~devyn
>