Skip to end of banner
Go to start of banner

Audacity

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Audacity is the world's most popular audio editing and recording app. It is widely used in Windows. Now, support has been added for building on ARM64. Audacity uses Conan build system to link against its dependencies. Various packages like RapidJSON, wxWidgets, opus file had to be updated inorder for Audacity to be built natively on Windows on Arm64. Audacity builds need MSYS2. Currently. MSYS2 is a work in progress and therefore the environment variable needs to be set birder for MSYS2 (emulated) shell to be used instead.

Requirements:

  • A development machine running Windows ARM64 (Surface, Thinkpad, Project Volterra, Windows VM on Apple M2):

  • Setup necessary build tools. Follow the steps from wenv

  • Download Audacity source from https://github.com/audacity/audacity

Compilation

On a MSYS2 bash shell

conan profile detect
cat > global.conf << EOF
tools.microsoft.bash:path=c:/wenv/msys2/msys64/usr/bin/bash.exe
tools.microsoft.bash:subsystem=msys2
EOF
conan config install global.conf
rm global.conf

Once the environment configuration is set up, building a binary is simple as following these steps :

mkdir build
cd build
cmake -A arm64 -S ../ -B .
cmake --build .
(From an administrator cmd shell)
cmake --build . --target install --config Release

  • No labels