1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 07:29:29 +02:00

Update build instructions

This commit is contained in:
James Crook 2020-06-28 11:03:49 +01:00
parent d42f0e327c
commit de50f55f61
2 changed files with 26 additions and 17 deletions

View File

@ -1,13 +1,10 @@
Instructions for Building on Linux Instructions for Building on Linux
Fuller instructions that cover: Fuller instructions can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Linux.
* Upgrading to gcc 4.9 on older Ubuntus
* Optional libraries In fact you should read those instructions rather than these
can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Linux. once. These ones give less detail.
In fact for Audacity 2.4.0 you should read those
instructions rather than these ones, since we switched to
CMake for building Audacity itself for 2.4.0
Some prerequisites: Some prerequisites:
@ -66,16 +63,27 @@ wxWidgets:
Audacity: Audacity:
These are old instructions. See our wiki and use See our wiki for more detailed build instructions, including how to
CMake for 2.4.0 and later, rather than as here automake. install CMake.
1) Create a 'build' subdirectory under Audacity and change to it.
2) Now to build Audacity itself. 1. Make a build directory under the audacity git directory.
Using a build directory (and .. in the command) keeps source and object files
in separate directories.
../configure --with-lib-preference="local system" cd audacity
mkdir build-cmake
cd build-cmake
2. Generate the makefiles
cmake -DCMAKE_BUILD_TYPE=Release ..
3. Build Audacity
cmake --build .
4. Run
cd bin/Release
./audacity
make
make install # as root

View File

@ -1,6 +1,7 @@
Instructions for building on Windows. Instructions for building on Windows.
Fuller instructions that include Fuller instructions that include
* Installing CMake
* Portable Settings * Portable Settings
* Building an Installer * Building an Installer
can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Windows can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Windows