4-23-20
subject: Audacity 2.3.3 compilation failure - W10 v1909 x64 - MSVS 2017; can’t open configwin.h
MSVS 2017 reported build error details:
…[my audacity folder]…\src\audacity.h(145): fatal error C1083: Cannot open include file: ‘configwin.h’: No such file or directory
Done building project “Audacity.vcxproj” – FAILED.
my host platform:
Windows 10 Home version 1909 on Intel 64bit
my Audacity 2.3.3 build process:
Used instructions at> http://wiki.audacityteam.org/wiki/Building_On_Windows
except widgets, I used github’s: wxMSW-3.1.1-Setup.exe and .sln input to MSVS 2017
my software development assets:
MSVS 2017 (and unused alternate MSVS 2019)
MS Visual C++ 2015-2019 Redistributable (x64 and x86)
SDKs 10.0.17763.0 (and unused alternate 10.0.18362.0)
Git and Git Extensions
wxWidgets-3.1.1
https://github.com/wxWidgets/wxWidgets/releases/v3.1.1
wxMSW-3.1.1-Setup.exe → C:\wxWidgets-3.1.1
C:\wxWidgets-3.1.1\build\msw\wx_vc15.sln ← input to MSVS 2017
built all 4 libs (32 & 64, lib & dll)
wxWidgets-3.1.3
https://github.com/wxWidgets/wxWidgets/releases/tag/v3.1.3
wxMSW-3.1.3-Setup.exe → C:\wxWidgets-3.1.3
C:\wxWidgets-3.1.3\build\msw\wx_vc16.sln ← input to MSVS 2019
built all 4 libs (32 & 64, lib & dll)
my Audacity source download:
Clone Audacity from the Audacity GitHub project. (version 2.3.3)
https://github.com/audacity/audacity/
MSVS 2017 build process:
set system environment variable: $(WXWIN) C:\wxWidgets-3.1.1
audacity\win\audacity.sln ← MSVS 2017 solution file
Project Properties>
Configuration: Active(Release) Platform: Active(Win32)
General:
Windows SDK Version: 10.0.17763.0
Platform Toolset: Visual Studio 2017 (v141)
C/C++
General:
Additional Include Directories: $(WXWIN)\include\msvc
$(WXWIN)\include
Preprocessor
Preprocessor Definitions BUILDING_AUDACITY (definitions set by .sln ?)
FLAC__NO_DLL
XML_STATIC
__STDC_CONSTANT_MACROS
WXINTL_NO_GETTEXT_MACRO
WXUSINGDLL
WXMSW
Inherited values: _UNICODE
UNICODE
Linker
General:
Additional Library Directories: $(OutDir)
$(WXWIN)\lib\vc_dll
$(GSTREAMER_SDK)\lib
Build>
Configuration Manager:
Active Solution configuration: Release
Active Solution Platform: Win32
(default selection of projects - all except:“help”, “mod-null”, “mod-nyq-bench”)