Compiling Audacity with Asio

Building and customizing Audacity from the source code.

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

Re: Compiling Audacity with Asio

Permanent link to this post Posted by Edwood » Thu Oct 14, 2010 8:38 pm

I wouldn't say that wxWidget discussion is off topic, as it's a critical part of compiling Audacity.
Edwood
 
Posts: 15
Joined: Tue Oct 12, 2010 9:40 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by Edgar » Thu Oct 14, 2010 9:15 pm

Edwood wrote:I wouldn't say that wxWidget discussion is off topic, as it's a critical part of compiling Audacity.


Sorry, I might have put that little bit better. What I meant was that this topic was really focused on Asio and compiling it for use with Audacity. What I was suggesting was that an in depth discussion of compiling wxWidgets might be better in its own topic or possibly continued via Private Message.
Edgar
Forum Crew
 
Posts: 1479
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

Re: Compiling Audacity with Asio

Permanent link to this post Posted by steve » Fri Oct 15, 2010 10:40 am

Edgar wrote:What I was suggesting was that an in depth discussion of compiling wxWidgets might be better in its own topic or possibly continued via Private Message.

Probably better in its own topic. I'm sure that others will find it interesting/useful.
This would probably be the most appropriate forum section: viewforum.php?f=19
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 44997
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling Audacity with Asio on Windows

Permanent link to this post Posted by Gale Andrews » Fri Oct 15, 2010 11:43 am

stevethefiddle wrote:
Edgar wrote:What I was suggesting was that an in depth discussion of compiling wxWidgets might be better in its own topic or possibly continued via Private Message.

Probably better in its own topic. I'm sure that others will find it interesting/useful.
This would probably be the most appropriate forum section: viewforum.php?f=19


I've moved this current topic to "Compiling Audacity" anyway, as more appropriate.

Yes, start a new topic discussion in this board about compiling Widgets if needed, but really building Widgets itself is totally automatic normally.

Debug versions of Audacity are slower than Release versions. If you are not interested in programming per se, you probably only need to build a "DLL Unicode Release" build of Widgets and then a "Unicode Release" build of Audacity.

I assume you have seen http://wiki.audacityteam.org/wiki/Developing_On_Windows. That gives you the basics of where to download Visual Express and an appropriate Windows SDK (without which Visual Studio will be useless). Compile.txt at win/compile.txt in the source code or online should give you the details of compiling Widgets, adding support for ASIO then compiling Audacity.

After installing the ASIO SDK (no need to compile anything in it), nothing more should be needed to build Audacity with ASIO support than defining the ASIOSDK_DIR environment variable, which basically points the Audacity code to where your ASIO SDK is.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Compiling Audacity with Asio on Windows

Permanent link to this post Posted by Edgar » Fri Oct 15, 2010 4:52 pm

Gale Andrews wrote:building Widgets itself is totally automatic normally.

After installing the ASIO SDK (no need to compile anything in it), nothing more should be needed to build Audacity with ASIO support than defining the ASIOSDK_DIR environment variable, which basically points the Audacity code to where your ASIO SDK is.


Building wxWidgets on Vista and Windows 7 with the VC++ 2008 Express (free) compiler is anything but automatic. The wxWidgets 2.8.11 code is better than earlier versions (though no longer being actively developed).

The current Asio SDK (I downloaded it on 14Oct2010) is just source code, header files and the project – maybe that is where I am making my mistake, I went ahead and built the Asio project. I was finally able to get Audacity to compile with the Asio environmental variable defined but I was never able to get it to link.
Edgar
Forum Crew
 
Posts: 1479
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

Re: Compiling Audacity with Asio on Windows

Permanent link to this post Posted by Gale Andrews » Fri Oct 15, 2010 11:56 pm

Edgar wrote:
Gale Andrews wrote:building Widgets itself is totally automatic normally.

After installing the ASIO SDK (no need to compile anything in it), nothing more should be needed to build Audacity with ASIO support than defining the ASIOSDK_DIR environment variable, which basically points the Audacity code to where your ASIO SDK is.

Building wxWidgets on Vista and Windows 7 with the VC++ 2008 Express (free) compiler is anything but automatic. The wxWidgets 2.8.11 code is better than earlier versions (though no longer being actively developed).

That isn't my experience with the mature 2.8.11 code after Audacity officially moved to it (I also use 2008 Express under Win 7 x64). I've built wx 2.8.11 twice on a clean Windows 7 installation in DLL Unicode Debug and DLL Unicode Release configurations, hitting it straight off after loading wx_dll.dsw. I just batch build adv, base, core, html and net for those two configurations and the other six projects that Audacity needs build automatically.

Edgar wrote:The current Asio SDK (I downloaded it on 14Oct2010) is just source code, header files and the project – maybe that is where I am making my mistake, I went ahead and built the Asio project. I was finally able to get Audacity to compile with the Asio environmental variable defined but I was never able to get it to link.

Can't comment without seeing the errors, and haven't built Audacity with ASIO support for several months. I'll try and give it a go, because there were some things I wanted to test.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Compiling Audacity with Asio

Permanent link to this post Posted by Edwood » Sat Oct 16, 2010 12:47 am

OK, I have A clean Windows 7 Ultimate (x86) install done and ready to go.

Should I go with the Visual Studio 2008 Trial install? Or the Visual Studio Express 2008 (C++) install?

Again, I'm a complete n00b to compiling, but am proficient with Windows. So please be patient with me, and explain as you would to a 5 year old learning compiling C++ code. :)

-Ed
Edwood
 
Posts: 15
Joined: Tue Oct 12, 2010 9:40 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by Edgar » Sat Oct 16, 2010 1:28 am

Edwood wrote:Should I go with the Visual Studio 2008 Trial install? Or the Visual Studio Express 2008 (C++) install?


Do not go with the Visual Studio trial because Audacity will not compile with the current Visual Studio 2010. Stick with VC++ Express 2008 as that is what most of those folks who will be helping you use <grin>.

There are couple other reasons as well; installing Visual Studio (trial or otherwise) sets up a different environment from Express – it makes it easier during the trial but thereafter if you choose to go with Express is very difficult to get rid of all the Visual Studio bits. Visual Studio is also lot larger as far as disk space goes.

Let us know how you get on, don't hesitate to ask questions!
Edgar
Forum Crew
 
Posts: 1479
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

Re: Compiling Audacity with Asio

Permanent link to this post Posted by Edwood » Sat Oct 16, 2010 2:58 am

I meant Visual Studio 2008 trial. I have that one (wasn't quite as easy to find on M$'s site).

So I should still go with Visual Studio 2008 Express ?

-Ed
Edwood
 
Posts: 15
Joined: Tue Oct 12, 2010 9:40 pm
Operating System: Please select

Re: Compiling Audacity with Asio

Permanent link to this post Posted by Edgar » Sat Oct 16, 2010 4:41 am

Edwood wrote:I meant Visual Studio 2008 trial. I have that one (wasn't quite as easy to find on M$'s site).

So I should still go with Visual Studio 2008 Express ?


I may be confusing the nomenclature, but as I understand it Visual Studio 2008 is NOT what you want. You want VC++ 2008 Express which is a small part of Visual Studio. What you do not want for sure is the "trial" version which is a full version of Visual Studio. The one you want might no longer be available from Microsoft but is available if you search on the Internet.
Edgar
Forum Crew
 
Posts: 1479
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

PreviousNext

Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 1 guest