1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-06 16:50:12 +01:00

Using audacity-fixes WxWidgets

Current recommendation is to use the pre-patched audacity-fixes repository.  Step 2 description updated as it concerns downloading only.
This commit is contained in:
Steve Daulton
2017-08-16 09:42:06 +01:00
committed by GitHub
parent e7d33e18a7
commit d996e889a9

View File

@@ -35,18 +35,19 @@ Cygwin" section below. This is not maintained (for a very long time!).
------------------------------------------------------------------------ ------------------------------------------------------------------------
MSVC++ STEP 1: Download and Install wxWidgets MSVC++ STEP 1: Download wxWidgets
------------------------------------------------------------------------ ------------------------------------------------------------------------
To simplify the implementation of a near-identical user To simplify the implementation of a near-identical user
interface across platforms, Audacity uses wxWidgets, a interface across platforms, Audacity uses wxWidgets, a
GUI framework. GUI framework.
Audacity 2.1.3 requires wxWidgets 3.0.2. Audacity 2.1.3 requires a patched version of wxWidgets 3.0.2.
Download the patched wxWidgets from the 'audacity-fixes'
To be able to build Audacity for Windows, download and install branch of https://github.com/audacity/wxWidgets
wxWidgets from http://www.wxwidgets.org/.
Alternatively the unpatched sourcecode may be downloaded from
http://www.wxwidgets.org/ and patched as described below.
------------------------------------------------------------------------ ------------------------------------------------------------------------
MSVC++ STEP 2: Download source code for Audacity MSVC++ STEP 2: Download source code for Audacity
@@ -59,18 +60,19 @@ at https://github.com/audacity/audacity/ (see GitHub for help).
------------------------------------------------------------------------ ------------------------------------------------------------------------
MSVC++ STEP 3: Build wxWidgets MSVC++ STEP 3: Build wxWidgets
------------------------------------------------------------------------ ------------------------------------------------------------------------
These steps assume the wxWidgets source code was extracted to
the root of C:\ and renamed "C:\wxWidgets-3.0.2\".
3.1. Open "C:\wxWidgets-3.0.2\build\msw\wx_dll.dsw" with 3.1. Open "C:\wxWidgets-3.0.2\build\msw\wx_dll.dsw" with
Microsoft Visual Studio. Microsoft Visual Studio.
Make sure to use wx_dll.dsw, not wx.dsw, because wx.dsw
does not have the correct dependencies for the DLL builds.
When you open wx_dll.dsw, Visual Studio will prompt whether When you open wx_dll.dsw, Visual Studio will prompt whether
to convert. Click "Yes To All". Next time you open a Visual to convert. Click "Yes To All". Next time you open a Visual
Studio session, you can avoid this prompt by opening Studio session, you can avoid this prompt by opening
"C\wxWidgets-3.0.2\build\msw\wx_dll.sln" instead of wx_dll.dsw. "C\wxWidgets-3.0.2\build\msw\wx_dll.sln" instead of wx_dll.dsw.
3.2. We have patched wxWidgets with four patches. You should apply all 3.2. If using the unpatched wcWidgets:
We have patched wxWidgets with four patches. You should apply all
four. You can do this in one step by copying the folder four. You can do this in one step by copying the folder
"audacity\win\wxWidgets_additions\wxWidgets-3.0.2\" "audacity\win\wxWidgets_additions\wxWidgets-3.0.2\"
over your: over your: