CMake

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

CMake

Permanent link to this post Posted by cmjone » Sun Dec 18, 2016 6:40 pm

I read some instructions posedt in GitHub about Audacity. It reads: CMake is required to build the local copy of the libsoxr resampling library used by Audacity, unless you install libsoxr-dev and use that system library. I also get some info from win\compile.txt in the source code in which no Cmake is mentioned. I am not a programmer and I do not have experience to compile Audacity. I just want to re-compile Audacity for use with ASIO. Please explain what this Cmake is for. I looked into the Cmake website which indicated Cmake was a software. How do I use it? One more question. I also read something that the software Python is needed. Please explain.

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

Re: CMake

Permanent link to this post Posted by steve » Sun Dec 18, 2016 7:57 pm

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 44992
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: CMake

Permanent link to this post Posted by cmjone » Fri Dec 23, 2016 5:43 pm

Hi:
Thank you for directing to read that web page. Now I know the Python. The question is the CMake and I still could not figure out whether I need Cmake or not. It says it is needed to build a local copy of the libsoxr resampling library used by Audacity. Do I need to build a local copy since I compile Audacity to use with ASIO? Please do not mind my ignorance about the libsoxr resampling library. What is it? I have not yet found any instruction as to how to use Cmake.
Thank you.
cmjone
 
Posts: 38
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: CMake

Permanent link to this post Posted by steve » Fri Dec 23, 2016 6:22 pm

Audacity uses libsoxr for resampling. For example, if you import a file that has a sample rate of 48000 Hz and you export it with a sample rate of 44100 Hz, then it is libsoxr that handles changing the sample rate. It is also used to allow tracks that have different sample rates to be played at the same time. libsoxr is required for Audacity 2.1.3.

I don't use Windows myself, but I believe that the instructions on the wiki should work if followed exactly. I'd suggest that you try making a standard build (without ASIO) first, then if that works, go for an ASIO build.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 44992
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: CMake

Permanent link to this post Posted by Gale Andrews » Sat Dec 24, 2016 4:40 pm

steve wrote:I don't use Windows myself, but I believe that the instructions on the wiki should work if followed exactly.

I assume the confusion comes from http://www.audacityteam.org/download/source/. I added a paragraph there
On Windows and Mac, everything necessary to build libsoxr is provided if you checkout the complete source code from GitHub, either the latest code or a tagged release.



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


Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 4 guests