[wxMac CVS Snapshot] A Mac OS X Build Suggestion/Question...
Stefan Csomor
csomor at advancedconcepts.ch
Thu Jan 4 07:45:03 PST 2007
Hi Casey
I've just reviewed the .xcodeproj and saw that somehow the static target
has lost the Run Script phase which is responsible for copying the
setup.h, please switch to 'dynamic' target and let it run, this will
create the setup.h necessary, then you will also be able to build the
static targets
Thanks,
Stefan
> -----Original Message-----
> From: Casey O'Donnell [mailto:caseyodonnell at gmail.com]
> Sent: Donnerstag, 4. Januar 2007 17:26
> To: wx-users at lists.wxwidgets.org
> Subject: Re: [wxMac CVS Snapshot] A Mac OS X Build
> Suggestion/Question...
>
> Thanks for this. I was just hesitant to do that because it just
> seemed
> like something that would have been documented that I should do.
>
> All else fails I think your suggestion sounds like a good stop-gap.
>
> Best.
> Casey
>
> On 1/4/07, chris elliott <biol75 at york.ac.uk> wrote:
> > Hi, I haven't got a mac, but like your output. It is just what i
> would
> > expect if setup.h was missing (sometimes is in unix and msw, and
> gives
> > same output)
> >
> > There is (or should be) setup0.h in include/wx/mac, so this could
> be
> > copied to setup.h in your include path - I'd copy it to
> > /Users/codonnell/Proj/wxMac-2007-01-04/src/build/include/wx/setup.h
> as
> > that should be on the search path; others with a real mac will no
> doubt
> > give a better answer!
> >
> > chris
> >
> >
> > Casey O'Donnell wrote:
> > > I was just sitting here trying to get the latest CVS snapshot to
> build
> > > on my machine. It works fine using the command line tools, which
> I
> > > don't mind doing for building the library. However, is there a
> reason
> > > that the Xcode project and command line tools seem mutually
> exclusive?
> > >
> > > Shouldn't I be able to build the library via the command line
> tools
> > > and still use the Xcode project in the Minimal sample? However
> that is
> > > not how it was created, which I suppose makes some sense, you
> either
> > > use Xcode or you don't. I'm not big on not having and IDE though,
> so
> > > I'm trying to use Xcode.
> > >
> > > My previous post probably wasn't specific enough with my question
> on
> > > building on OS X with Xcode.
> > >
> > > Like others have found and resolved, the stable OS X release will
> not
> > > build via Xcode because of some missing files. This is resolved
> by
> > > getting a CVS snapshot, which I've done. Now however just opening
> the
> > > Xcode project and hitting build results in it being unable to
> find
> > > setup.h:
> > >
> > > Building target "static" of project "wxWindows" with
> configuration
> > > "Development" - (241 errors)
> > > In file included from ../include/wx/defs.h:21,
> > > ../include/wx/platform.h:196:22: wx/setup.h: No such file or
> directory
> > >
> > > The install-mac.txt for Xcode doesn't say anything about
> > > altering/moving/etc setup.h, so I haven't done that. I've search
> the
> > > archives related to 2.8.0 and wxMac and building. I'm sure I am
> just
> > > not doing something simple.
> > >
> > > Thanks for any help.
> > > Casey
> > >
> > > Pasted below is the long version of the output given by Xcode:
> > > <SNIP>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
More information about the wx-users
mailing list