OK, I (finally!) got Audacity 2.4.2 with ASIO to compile on Windows 10.
I would like to share with you my steps, so that you may/might be able to duplicate them. My thanks to steve, Apesbrain and micsthepick whose posts gave me the solution I only had to duplicate and document; and to Steve A Lee for the 2.4.1 version of this cmd file.
- I have previously download Visual Studio Community Edition 2017. See https://visualstudio.microsoft.com/vs/older-downloads/
Added 2/6/21: be sure to include the Desktop Development in C++ Workload Package. - I have previously downloaded and intstalled git; if you haven’t done this do this now. See https://git-scm.com/download/win
- Download and install win32 installer for cmake-3.19.1 from https://cmake.org/download/
- Download current python 3.9 from https://www.python.org/downloads/windows/
- Create c:\proj242 directory
- Download latest ASIO SDK from https://www.steinberg.net/en/company/developers.html
then unzip the ASIO SDK folder and move the folder to c:\proj242. - Rename this folder to “ASIOSDK”
- copy the following code build-audacity.txt to c:\proj242\build-audacity.cmd [Note .cmd extension!]
This will download the source code for audacity widgets, audacity 2.4.2, then compile, cmake, and build everything.
build-audacity.txt (2.68 KB) - copy the next segment of code and save it to c:\proj242\asio2.patch
asio2.patch (2.4 KB) - There should be two files and one folder in c:\proj242:
build-audacity.cmd
asio2.patch
ASIOSDK - Press Windows-R and type “cmd”
- type “cd c:\proj242”, then type “build-audacity”
- The compiled progam will be built to C:\proj242\audacity\win\bin\Release\Audacity.exe