[wx-dev] Creating a MacOS X Framework

Anders F Björklund afb at algonet.se
Tue Mar 6 11:21:47 PST 2007


Stefan Neis wrote:

>> With the current wxWidgets library, you either need to set up an .app
>> bundle (with an Info.plist inside) or add resource forks (e.g. using
>> Rez)
>
> I see - didn't know yet that there's an alternative to Rez...

You should probably try to move off of Rez, for Mac OS X.
(there's no alternative yet for /usr/local/bin, though...)

>> I'm guessing that you did either of those things, without thinking
>> about it ?
>
> Yes, I've just been copying what's being done for "minimal" sample,
> so I was calling Rez.

Nothing wrong with that, only that broken icon on Intel...
But you should prefer .app bundling, before releasing it.

> BTW, is there some human readable description (i.e. not just the
> makefile) on how to build applications on MacOS somewhere?
> E.g. a wiki page? I'd still like some more details ...

There's a few on wiki.wxwidgets.org, with different dates.
(some of them growing pretty stale by now, like wx 2.4 etc)

You might also like a description on how to build Code::Blocks:
http://wiki.codeblocks.org/index.php?title=Installing_Code:: 
Blocks_from_source_on_Mac_OS_X#Bundle_application_for_Mac
It goes over how to build wxWidgets and how to bundle it up.

--anders





More information about the wx-dev mailing list