I am working on compiling Audacity for ASIO. I followed the instructions for Compiling Audacity for Windows.
I was successful in compiling the wxwidget 3.0.2 dll’s
But I have not been able to compile the Audacity 2.1.2 code from GitHub.
I have tried on different pc’s with the same results.
Weather I add the wxwidget dll’s to the Debug and/or Release folder, or not at all, I get the following errors:
Error 1 error C1083: Cannot open include file: ‘wx/defs.h’: No such file or directory c:…\visual studio 2013\projects\audacity\lib-src\filedialog\filedialog.h 20 1 filedialog
Error 2 error C1083: Cannot open include file: ‘zlib.h’: No such file or directory c:…\visual studio 2013\projects\audacity\lib-src\libid3tag\util.c 29 1 libid3tag
Error 3 error C1083: Cannot open include file: ‘wx/wxprec.h’: No such file or directory c:…\visual studio 2013\projects\audacity\lib-src\filedialog\win\filedialogprivate.cpp 23 1 filedialog
Error 4 error C1083: Cannot open include file: ‘wx/wx.h’: No such file or directory c:…\visual studio 2013\projects\audacity\src\audacityheaders.h 30 1 Audacity
With environment variables set for ASIO and WXWIN
With wxWidget dll’s with Debug and Release build
Without wxwidget dll’s with Debug and Release build
With out environment variable ASIO
With out environment variable WXWIN
And all of the above with wxWidget version 2.8.12
Getting started building the current Audacity code: says
Only wxWidgets 3.0.2 is now supported - obtain this from the top of http://wxwidgets.org/downloads/.
and I did.
I have followed the instructions to the letter.
Is there another place to get the Source Code?
I just want to start by compiling Audacity without any modifications.
Sorry I can’t help much with this as I’m on Linux, but just to say that GitHub is the official repository and all official Audacity releases come from the code in GitHub. The current ZIP download from GitHub “should” work correctly - there’s still a few bugs to be fixed before the next release, but it is “stable”. The link to the current ZIP package is here: https://github.com/audacity/audacity
MSVC++ STEP 1:
downloaded a fresh copy of wxWidgets-3.0.2
MSVC++ STEP 3:
downloaded a fresh copy of Audacity from GitHub
MSVC++ STEP 2:
2.1 Build wxWidgets for all configurations of Audacity…"
Opened “C:\wxWidgets-3.0.2\build\msw\wx_dll.dsw” with
Microsoft Visual Studio.
2.2 Copied “audacity\win\wxWidgets_additions\setup.h” to
2.3 Build wxWidgets for all configurations of Audacity…"
Copied “audacity-src\win\wxWidgets_additions\window.cpp” to
In the compile errors file you say “set WXWIN =C:\wxWidgets-2.8.12”. Obviously that WXWIN should be “C:\wxWidgets-3.0.2” as you stated farther up. Make sure you don’t have multiple conflicting WXWIN variables. The solution is not set up to allow for that.