mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-13 15:38:56 +02:00
Update windows build instructions (#725)
* Update windows build instructions * Update download link for VS 2019 * One more 2017 > 2019 text change * Remove errant dots from a list * Specify CMake variable name
This commit is contained in:
parent
26d8fcad66
commit
f2abbceb2e
@ -7,9 +7,9 @@ Fuller instructions that include
|
|||||||
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
|
||||||
|
|
||||||
|
|
||||||
1. MSVC 2017: Download and install Microsoft Visual Studio 2017
|
1. MSVC 2019: Download and install Microsoft Visual Studio 2019
|
||||||
|
|
||||||
https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2017
|
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16
|
||||||
|
|
||||||
2. Git: Download and install Git, for example by installing:
|
2. Git: Download and install Git, for example by installing:
|
||||||
|
|
||||||
@ -54,9 +54,9 @@ can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Window
|
|||||||
Then in system variables, for variable and value, add (for example)
|
Then in system variables, for variable and value, add (for example)
|
||||||
WXWIN C:\wxWidgets-3.1.3
|
WXWIN C:\wxWidgets-3.1.3
|
||||||
|
|
||||||
You will be building a dll version with MSVC2017 IDE, so...
|
You will be building a dll version with MSVC2019 IDE, so...
|
||||||
|
|
||||||
In MSVC 2017 open wx_vc15.sln, and select dll, release.
|
In MSVC 2019 open wx_vc15.sln, and select dll, release.
|
||||||
Then build.
|
Then build.
|
||||||
|
|
||||||
3) Having got this far, it is well worth trying out building some wxWidgets
|
3) Having got this far, it is well worth trying out building some wxWidgets
|
||||||
@ -74,15 +74,36 @@ can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Window
|
|||||||
|
|
||||||
Audacity itself does not use/need git submodules.
|
Audacity itself does not use/need git submodules.
|
||||||
|
|
||||||
|
2) Open the CMake GUI
|
||||||
|
- Open VS 2019 > "continue without code" > File > Open > CMake
|
||||||
|
- Pick CMakeLists.txt in root of audacity source folder you cloned
|
||||||
|
- Click "Open the CMake Settings Editor"
|
||||||
|
|
||||||
|
4) Check "Show advanced variables", click "Show advanced settings"
|
||||||
|
5) Set CMake Settings:
|
||||||
|
- configuration type > Release
|
||||||
|
- toolset > msvc_x86_x86 or msvc_x86_x64
|
||||||
|
- CMake generator > VS 16 2019
|
||||||
|
|
||||||
|
6) Set CMake variables:
|
||||||
|
- wxWidgets_LIB_DIR > 'C:/wxWidgets/lib/vc_dll' (your path may be slightly different)
|
||||||
|
- CMAKE_BINARY_DIR > `${projectDir}\out\install\${name}` (default, you can change it)
|
||||||
|
|
||||||
|
7) Save (should automatically generate CMake file)
|
||||||
|
- if it doesn't, Project > Generate CMake Cache
|
||||||
|
|
||||||
|
8) Build > Build All
|
||||||
|
|
||||||
|
Check the output directory indicated in step 6 to find `Audacity.exe`
|
||||||
|
|
||||||
|
|
||||||
|
Old VS 2017 instructions:
|
||||||
|
|
||||||
2) Open the CMake GUI.
|
2) Open the CMake GUI.
|
||||||
|
|
||||||
Set the 'Where is the source code' location to where your copy of the git repo is.
|
Set the 'Where is the source code' location to where your copy of the git repo is.
|
||||||
Set the 'Where to build the binaries' to where you want the results.
|
Set the 'Where to build the binaries' to where you want the results.
|
||||||
|
|
||||||
Click on configure.
|
|
||||||
(notice where it found / did not find wxWidgets if it did not find wxwidgets check
|
|
||||||
that you set WXWIN coreectly )
|
|
||||||
|
|
||||||
3) Click on Generate.
|
3) Click on Generate.
|
||||||
|
|
||||||
4) Click on Open Project.
|
4) Click on Open Project.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user