wxWidgets Build on OSX

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

wxWidgets Build on OSX

Post by cpsmusic » Sat Sep 13, 2014 3:40 am

Hi,

I'm attempting to build Audacity on OSX (10.9.4) using Xcode (5.1.1).

As a start I've built wxWidgets (which in itself was not straightforward!). I'm wondering why four different builds of wxWidgets are necessary(see <http://wiki.audacityteam.org/wiki/Build ... _wxWidgets>)? If I were to go with just one build, which would be best?

Cheers,

Chris

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: wxWidgets Build on OSX

Post by Gale Andrews » Sat Sep 13, 2014 6:06 am

cpsmusic wrote:Hi,

I'm attempting to build Audacity on OSX (10.9.4) using Xcode (5.1.1).

As a start I've built wxWidgets (which in itself was not straightforward!). I'm wondering why four different builds of wxWidgets are necessary(see <http://wiki.audacityteam.org/wiki/Build ... _wxWidgets>)? If I were to go with just one build, which would be best?

Cheers,

Chris
I assume you realise that you won't be able to build Audacity unless you also have Xcode 3 and Xcode 4, nor (for that reason) will you likely be able to build Audacity on a machine that started with a Mavericks install.

If you really want to change the Widgets configurations, you can amend the widgets build script available on the above page so that it only builds release (or if you are going to join Audacity as a developer, only builds debug).


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

Re: wxWidgets Build on OSX

Post by cpsmusic » Sat Sep 13, 2014 7:55 am

Any idea why Xcode 3 and 4 are required?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: wxWidgets Build on OSX

Post by Gale Andrews » Sat Sep 13, 2014 6:10 pm

cpsmusic wrote:Any idea why Xcode 3 and 4 are required?
Because Audacity still supports PPC. Mac builds made for official releases are universal binaries that run on both Intel and PPC Mac's.

We may drop PPC support soon.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

Re: wxWidgets Build on OSX

Post by cpsmusic » Sat Sep 13, 2014 11:51 pm

If that's the case then are the earlier Xcode versions only required because of their associated platform SDKs (giving the ability to target older versions of OSX) or is there actual code that requires the earlier versions? That is, is it possible to build an OSX 10.9-only version of Audacity?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: wxWidgets Build on OSX

Post by Gale Andrews » Sun Sep 14, 2014 3:35 am

cpsmusic wrote:Is it possible to build an OSX 10.9-only version of Audacity?
No. The steps at http://wiki.audacityteam.org/wiki/Building_On_Mac actually produce a universal binary. The Xcode 3.x SDK is currently required, even if you make a native Intel build.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

Re: wxWidgets Build on OSX

Post by cpsmusic » Sun Sep 14, 2014 3:40 am

Any idea what the older SDKs are being used for?

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: wxWidgets Build on OSX

Post by Gale Andrews » Sun Sep 14, 2014 3:52 am

cpsmusic wrote:Any idea what the older SDKs are being used for?
As I stated before, to provide PPC support.

Are you trying to do anything specific, apart from build Audacity?

Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

Re: wxWidgets Build on OSX

Post by cpsmusic » Sun Sep 14, 2014 11:29 am

No, I'm just trying to get a build working on OSX but I don't want to revert to older OSs to do this. I'm also not interested in PPC. I was hoping that this might be possible but it's not clear how difficult this would be to actually do.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: wxWidgets Build on OSX

Post by Gale Andrews » Sun Sep 14, 2014 5:37 pm

Try to build Audacity having built Widgets, and tell us where it fails (I'm very confident it will). Then I'll raise a bug report.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply