Compiling with ASIO

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
philmonty
Posts: 5
Joined: Sun Jan 18, 2015 6:31 pm
Operating System: Please select

Compiling with ASIO

Post by philmonty » Sun Jan 18, 2015 6:35 pm

Hi all

I am compiling Audacity with ASIO support. Spent a few days on this right now, and while I get Audacity compiled successfully, it bombs out on launch - no error, no splashscreen, just exits. To be fair, I am not an expert Windows developer, but everything seems to be correct.

Does anyone have any advice, or a link to a compiled version that I can use - this is for a community project and I have no intention of distributing. It's driving me NUTS! :evil:

Edgar
Forum Crew
Posts: 1520
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

Re: Compiling with ASIO

Post by Edgar » Mon Jan 19, 2015 12:03 am

philmonty wrote: Does anyone have any advice, or a link to a compiled version
We will need a lot more information on your compile process if you want help there. As for a link to a compiled version we may not help you out on that due to copyright-type restrictions. I am almost certain we can get you up and running with your own compiled version.

What OS and compiler are you using? Are you certain that you have compiled the appropriate wxWidgets libraries and that they are in the same folder as your Audacity.exe? How did you obtain your Audacity source code and, if you are getting it via SVN, what revision did you grab?
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10

philmonty
Posts: 5
Joined: Sun Jan 18, 2015 6:31 pm
Operating System: Please select

Re: Compiling with ASIO

Post by philmonty » Mon Jan 19, 2015 2:56 am

Thanks for the reply Edgar

I am compiling on Windows 7 64 bit, with MS Visual Studio 2013

I have built WXWidgets 2.8.12, and put the .DLLs in the same directory as Audacity

I used SVN to get Audacity 2.0.6

Just rebuilt everything and it bombs out - I guess I need to do a debug build?

Phil

Edgar
Forum Crew
Posts: 1520
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

Re: Compiling with ASIO

Post by Edgar » Mon Jan 19, 2015 5:23 am

philmonty wrote: I am compiling on Windows 7 64 bit, with MS Visual Studio 2013
I used SVN to get Audacity 2.0.6
Make sure that you build wxWidgets with MS VS 2013 - you must build the libraries and the executable with the same compiler. 2.0.6 is revision 13340 - make sure you check out that revision. There should be no advantage in a debug build as there is obviously something wrong in your environment. Make sure you are not trying to use the experimental wxWidgets wx3 configurations for Audacity.

My next suggestion would be to remove ASIO from the equation. If it was me, I would start from scratch: delete your current Audacity folder entirely; delete its configuration folder ( C:UsersYourUserNameAppDataRoamingAudacity - you will need to use your appropriate username); remove the ASIO path environmental variable; reboot Windows; check out revision 13340; compile; copy in appropriate wxWidgets libraries; test to see that Audacity.exe functions as expected.

Persevere - everyone who does eventually gets it working!
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10

philmonty
Posts: 5
Joined: Sun Jan 18, 2015 6:31 pm
Operating System: Please select

Re: Compiling with ASIO

Post by philmonty » Tue Jan 20, 2015 4:38 am

Thanks Edgar - I am doing all this now and will report back.

Phil

philmonty
Posts: 5
Joined: Sun Jan 18, 2015 6:31 pm
Operating System: Please select

Re: Compiling with ASIO

Post by philmonty » Fri Jan 23, 2015 5:21 pm

Hey Edgar - just wanted to confirm that I am building version 2.0.0.6, revision 13340? I assume the ASIO support doesn't work with anything newer?

Phil

philmonty
Posts: 5
Joined: Sun Jan 18, 2015 6:31 pm
Operating System: Please select

Re: Compiling with ASIO

Post by philmonty » Fri Jan 23, 2015 6:44 pm

Hi Edgar

Followed everything you said, and the compile fails with MANY errors. The first set are all around allegro - didn't know I had to install that too. At this point I have no idea what is going on, so I think I am going to give up and find another audio solution. Thanks for all your help.

steve
Site Admin
Posts: 49033
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiling with ASIO

Post by steve » Fri Jan 23, 2015 8:18 pm

philmonty wrote: so I think I am going to give up and find another audio solution.
Is there a reason that you can't use Audacity without ASIO?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 1520
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7

Re: Compiling with ASIO

Post by Edgar » Fri Jan 23, 2015 9:34 pm

philmonty wrote:just wanted to confirm that I am building version 2.0.0.6, revision 13340? I assume the ASIO support doesn't work with anything newer?
Revision 13340 is the current "stable" release (a new stable release is probably imminent). ASIO support does work in newer revisions but I strongly suggest that you await the next stable release to be on the safe side (the last few months of Development have seen some major changes).
philmonty wrote:Followed everything you said, and the compile fails with MANY errors. The first set are all around allegro - didn't know I had to install that too. At this point I have no idea what is going on, so I think I am going to give up and find another audio solution.
Giving up is your call – I feel certain that we can get you compiling - I would be happy to keep helping.
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10

cmjone
Posts: 39
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: Compiling with ASIO

Post by cmjone » Sun Jan 25, 2015 9:05 pm

Hi:
I have read your posting about Compiling with ASIO. I have done it successfully with versions prior to 2.0.6 which gave me a lot of trouble and finally I gave up. Please read the threads below yours. I have communicated with Edgar many times. After I spent a lot of effort to no avail, he finally pointed out there could be problems with the code of 2.0.6 from the SVN. He mentioned a new version would be coming out very soon and should wait to try again. I hope this piece information is useful to you.

Post Reply