[2.8.4, Mac OS 10.4.9] Demos source confusion
Greg Hellings
greg.hellings at gmail.com
Tue Jun 12 10:43:33 PDT 2007
Actually, building in a subdirectory is preferrable, because it allows
you to do things like build the release and debug versions off of the
same source tree. ...just don't delete the demos/ source from the
source tree. :P
To do that the following commands would probably work well:
tar xjf wxMac-2.8.4.tar.bz2
mkdir wxMac-build-release
cd wxMac-build-release
../wxMac-2.8.4/configure --disable-debug <options, etc>
make && sudo make install
cd ..
mkdir wxMac-build-debug
cd wxMac-build-debug/
../wxMac-2.8.4/configure --enable-debug <options to differentiate from
release build, etc>
make && sudo make install
Then, to build the demos, you can go into either
wxMac-build-debug/demos or wxMac-build-release/demos and build the
appropriate ones from in there with the command 'make.' Building in
the source tree is just asking for problems. Cheers!
--Greg
On 6/12/07, David Goldsmith <David.L.Goldsmith at noaa.gov> wrote:
> Ah, yes, that's what I did, I built into a directory called release (but
> I don't remember how) 'cause I wanted to do a separate debug build also,
> and then I think I did delete the demos directory in the unpack directory...
>
> Luckily I still had the tarball (in my trash), so I'm rebuilding, this
> time w/out building into a subdirectory. Thanks!
>
> DG
>
> Greg Hellings wrote:
> > David,
> >
> > My suspicion is that you built the library in a directory other than
> > the directory where you untarred the sources... say in a subdirectory
> > of that directory, or maybe in a sibling directory. Either way, when
> > you're done the configure, if you're not in the root of the source
> > directory, it creates empty folders and puts the configured Makefiles
> > into them, with no sources. The sources are still found in the demos/
> > directory of the base wxMac directory to which you untarred the full
> > source-ball.
> >
> > --Greg
> >
> > On 6/11/07, David.L.Goldsmith at noaa.gov <David.L.Goldsmith at noaa.gov>
> > wrote:
> >> Hi! I have built versions of the demos (2.8.4, Mac OS 10.4.9) but no
> >> source code for them and no recollection of having deleted the source;
> >> are these installed from binary w/out the source for Mac installs, or
> >> must I have had the source at some point and am simply spacing on having
> >> deleted them (I also have no idea why I would have done that, which
> >> strengthens my suspicion that I didn't, but then how can I have built
> >> them)?
> >>
> >> Confused,
> >>
> >> DG
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> >> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> > For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> >
>
> --
> ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>
>
> ---------------------------------------------------------------------
> 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