SO I nuked everything and started again to carefully document each step.
Here are the steps and the results:
- Clone WxWidgets with no errors
git clone --recurse-submodules https://github.com/audacity/wxWidgets/
-
Open wxWidgets\build\msw\wx_vc16.sln and build ReleaseDLL - Win32 with no errors.
-
Clone Audacity 2.4.2 with no errors
git clone --branch Audacity-2.4.2 https://github.com/audacity/audacity/
- Open CMake and set proper directories and click “Configure” and “Generate”
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
The C compiler identification is MSVC 19.24.28316.0
The CXX compiler identification is MSVC 19.24.28316.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
The ASM_NASM compiler identification is NASM
Found assembler: C:/Program Files/nasm/nasm.exe
Build Info:
Host System: Windows-10.0.19041
Host System Name: Windows
Host System Processor: AMD64
Host System Version: 10.0.19041
Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x86/cl.exe
Compiler Version: 19.24.28316.0
Compiler Standard: 14
Compiler Standard Required: ON
Compiler Extensions:
MSVC Version: 1924
MSVC Toolset: 142
Current Commit: unknown
Looking for pow in m
Looking for pow in m - not found
Looking for __atomic_fetch_add_4 in atomic
Looking for __atomic_fetch_add_4 in atomic - not found
Check if the system is big endian
Searching 16 bit integer
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
Check size of unsigned short - done
Searching 16 bit integer - Using unsigned short
Check if the system is big endian - little endian
Building for 32-bit target
Looking for 4 include files float.h, ..., string.h
Looking for 4 include files float.h, ..., string.h - found
Looking for assert.h
Looking for assert.h - found
Looking for errno.h
Looking for errno.h - found
Looking for fcntl.h
Looking for fcntl.h - found
Looking for fenv.h
Looking for fenv.h - found
Looking for inttypes.h
Looking for inttypes.h - found
Looking for limits.h
Looking for limits.h - found
Looking for malloc.h
Looking for malloc.h - found
Looking for byteswap.h
Looking for byteswap.h - not found
Looking for memory.h
Looking for memory.h - found
Looking for stdbool.h
Looking for stdbool.h - found
Looking for stdlib.h
Looking for stdlib.h - found
Looking for string.h
Looking for string.h - found
Looking for strings.h
Looking for strings.h - not found
Looking for unistd.h
Looking for unistd.h - not found
Looking for xmmintrin.h
Looking for xmmintrin.h - found
Looking for sys/param.h
Looking for sys/param.h - not found
Looking for sys/stat.h
Looking for sys/stat.h - found
Looking for sys/wait.h
Looking for sys/wait.h - not found
Looking for bcopy
Looking for bcopy - not found
Looking for fileno
Looking for fileno - found
Looking for flock
Looking for flock - not found
Looking for fork
Looking for fork - not found
Looking for fsync
Looking for fsync - not found
Looking for ftruncate
Looking for ftruncate - not found
Looking for getpagesize
Looking for getpagesize - not found
Looking for gettimeofday
Looking for gettimeofday - not found
Looking for gmtime
Looking for gmtime - found
Looking for gmtime_r
Looking for gmtime_r - not found
Looking for lrint
Looking for lrint - found
Looking for lrintf
Looking for lrintf - found
Looking for lround
Looking for lround - found
Looking for lstat
Looking for lstat - not found
Looking for memcpy
Looking for memcpy - found
Looking for memmove
Looking for memmove - found
Looking for mlock
Looking for mlock - not found
Looking for pipe
Looking for pipe - not found
Looking for posix_fadvise
Looking for posix_fadvise - not found
Looking for posix_memalign
Looking for posix_memalign - not found
Looking for strchr
Looking for strchr - found
Looking for waitpid
Looking for waitpid - not found
Check size of int8_t
Check size of int8_t - done
Check size of int16_t
Check size of int16_t - done
Check size of uint16_t
Check size of uint16_t - done
Check size of u_int16_t
Check size of u_int16_t - failed
Check size of int32_t
Check size of int32_t - done
Check size of uint32_t
Check size of uint32_t - done
Check size of u_int32_t
Check size of u_int32_t - failed
Check size of int64_t
Check size of int64_t - done
Check size of short
Check size of short - done
Check size of unsigned short
Check size of unsigned short - done
Check size of int
Check size of int - done
Check size of unsigned int
Check size of unsigned int - done
Check size of long
Check size of long - done
Check size of unsigned long
Check size of unsigned long - done
Check size of long long
Check size of long long - done
Check size of unsigned long long
Check size of unsigned long long - done
Check size of float
Check size of float - done
Check size of double
Check size of double - done
Check size of long double
Check size of long double - done
Check size of loff_t
Check size of loff_t - failed
Check size of off_t
Check size of off_t - done
Check size of off64_t
Check size of off64_t - failed
Check size of size_t
Check size of size_t - done
Check size of wchar_t
Check size of wchar_t - done
Check size of void*
Check size of void* - done
Building for 32-bit target
Found Python3: C:/python/python.exe (found version "3.9.0") found components: Interpreter
========== Configuring wxwidgets ==========
Found wxWidgets: C:/wxWidgets/lib/vc_dll/wxmsw31u_adv.lib;C:/wxWidgets/lib/vc_dll/wxbase31u.lib;C:/wxWidgets/lib/vc_dll/wxmsw31u_core.lib;C:/wxWidgets/lib/vc_dll/wxmsw31u_html.lib;C:/wxWidgets/lib/vc_dll/wxbase31u_net.lib;C:/wxWidgets/lib/vc_dll/wxmsw31u_qa.lib;C:/wxWidgets/lib/vc_dll/wxpng.lib;C:/wxWidgets/lib/vc_dll/wxtiff.lib;C:/wxWidgets/lib/vc_dll/wxjpeg.lib;C:/wxWidgets/lib/vc_dll/wxzlib.lib;C:/wxWidgets/lib/vc_dll/wxregexu.lib;C:/wxWidgets/lib/vc_dll/wxexpat.lib;winmm;comctl32;uuid;oleacc;uxtheme;rpcrt4;shlwapi;version;wsock32 (found version "3.1.3") found components: adv base core html net qa png tiff jpeg zlib regex expat
Using 'wxwidgets' system library
========== Configuring expat ==========
Using 'expat' local library
========== Configuring lame ==========
Using 'lame' local library
========== Configuring sndfile ==========
Using 'sndfile' local library
Check size of SSIZE_T
Check size of SSIZE_T - done
Check size of int64_t
Check size of int64_t - done
Looking for S_IRGRP
Looking for S_IRGRP - not found
========== Configuring soxr ==========
Using 'soxr' local library
Trying SIMD32 C flags:
Performing Test DETECT_SIMD32_C_FLAGS
Performing Test DETECT_SIMD32_C_FLAGS - Success
Found SIMD32:
========== Configuring portaudio ==========
Using 'portaudio' local library
CMake Warning (dev) at C:/cmake-3.19.0-rc1-win64-x64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message):
The package name passed to `find_package_handle_standard_args` (jack) does
not match the name of the calling package (Jack). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
lib-src/portaudio-v19/cmake_support/FindJack.cmake:34 (find_package_handle_standard_args)
cmake-proxies/portaudio-v19/CMakeLists.txt:84 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
Could NOT find jack (missing: JACK_LIBRARY JACK_INCLUDE_DIR)
========== Configuring ffmpeg ==========
Will dynamically load 'ffmpeg' library at runtime
Using 'ffmpeg' local includes
========== Configuring id3tag ==========
Using 'id3tag' local library
========== Configuring mad ==========
Using 'mad' local library
========== Configuring nyquist ==========
Using 'nyquist' local library
========== Configuring vamp ==========
Using 'vamp' local library
========== Configuring ogg ==========
Using 'ogg' local library
========== Configuring vorbis ==========
Using 'vorbis' local library
========== Configuring flac ==========
Using 'flac' local library
========== Configuring lv2 ==========
Using 'lv2' local library
========== Configuring midi ==========
Using 'midi' local library
========== Configuring portmixer ==========
Using 'portmixer' local library
========== Configuring portsmf ==========
Using 'portsmf' local library
========== Configuring sbsms ==========
Using 'sbsms' local library
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
========== Configuring soundtouch ==========
Using 'soundtouch' local library
========== Configuring twolame ==========
Using 'twolame' local library
========== Configuring manual ==========
========== Configuring images ==========
========== Configuring locale ==========
========== Configuring mod-null ==========
========== Configuring mod-nyq-bench ==========
========== Configuring mod-script-pipe ==========
========== Configuring nyquist ==========
========== Configuring plug-ins ==========
========== Configuring Audacity ==========
Using precompiled headers
========== Configuring minsrc ==========
Configuring done
Generating done
- Open Audacity.sln and build Release Win32. No binaries built.
Error E1696 cannot open source file "RevisionIdent.h"
Error C1083 Cannot open include file: 'RevisionIdent.h': No such file or directory
Error LNK1181 cannot open input file '..\..\lib\audacity\Release\Audacity.lib'
Error LNK1181 cannot open input file '..\..\lib\audacity\Release\Audacity.lib'
Error LNK1181 cannot open input file '..\..\lib\audacity\Release\Audacity.lib'
- Edit AboutDialog.cpp and comment out line 66, clean solution and try again. Everything blows up.
Error LNK2019 unresolved external symbol "private: static class wxString __cdecl TranslatableString::DoSubstitute(class std::function<class wxString __cdecl(class wxString const &,enum TranslatableString::Request)> const &,class wxString const &,bool)" (?DoSubstitute@TranslatableString@@CA?AVwxString@@ABV?$function@$$A6A?AVwxString@@ABV1@W4Request@TranslatableString@@@Z@std@@ABV2@_N@Z) referenced in function "public: __thiscall FileDialogWrapper::FileDialogWrapper(class wxWindow *,class TranslatableString const &,class wxString const &,class wxString const &,class std::vector<struct FileNames::FileType,class std::allocator<struct FileNames::FileType> > const &,long,class wxPoint const &,class wxSize const &,class TranslatableString const &)" (??0FileDialogWrapper@@QAE@PAVwxWindow@@ABVTranslatableString@@ABVwxString@@2ABV?$vector@UFileType@FileNames@@V?$allocator@UFileType@FileNames@@@std@@@std@@JABVwxPoint@@ABVwxSize@@1@Z)
Error LNK2019 unresolved external symbol "protected: __thiscall MessageBoxException::MessageBoxException(class TranslatableString const &)" (??0MessageBoxException@@IAE@ABVTranslatableString@@@Z) referenced in function "public: __thiscall FileException::FileException(enum FileException::Cause,class wxFileName const &,class TranslatableString const &,class wxFileName const &)" (??0FileException@@QAE@W4Cause@0@ABVwxFileName@@ABVTranslatableString@@1@Z)
Error LNK2019 unresolved external symbol "protected: virtual __thiscall MessageBoxException::~MessageBoxException(void)" (??1MessageBoxException@@MAE@XZ) referenced in function __unwindfunclet$??0FileException@@QAE@ABV0@@Z$0
Error LNK2019 unresolved external symbol "protected: __thiscall MessageBoxException::MessageBoxException(class MessageBoxException const &)" (??0MessageBoxException@@IAE@ABV0@@Z) referenced in function "public: __thiscall FileException::FileException(class FileException const &)" (??0FileException@@QAE@ABV0@@Z)
Error LNK2019 unresolved external symbol "void __cdecl wxTabTraversalWrapperCharHook(class wxKeyEvent &)" (?wxTabTraversalWrapperCharHook@@YAXAAVwxKeyEvent@@@Z) referenced in function "public: __thiscall FileDialogWrapper::FileDialogWrapper(class wxWindow *,class TranslatableString const &,class wxString const &,class wxString const &,class std::vector<struct FileNames::FileType,class std::allocator<struct FileNames::FileType> > const &,long,class wxPoint const &,class wxSize const &,class TranslatableString const &)" (??0FileDialogWrapper@@QAE@PAVwxWindow@@ABVTranslatableString@@ABVwxString@@2ABV?$vector@UFileType@FileNames@@V?$allocator@UFileType@FileNames@@@std@@@std@@JABVwxPoint@@ABVwxSize@@1@Z)
Error LNK2019 unresolved external symbol "class wxString __cdecl FileNames::FormatWildcard(class std::vector<struct FileNames::FileType,class std::allocator<struct FileNames::FileType> > const &)" (?FormatWildcard@FileNames@@YA?AVwxString@@ABV?$vector@UFileType@FileNames@@V?$allocator@UFileType@FileNames@@@std@@@std@@@Z) referenced in function "public: __thiscall FileDialogWrapper::FileDialogWrapper(class wxWindow *,class TranslatableString const &,class wxString const &,class wxString const &,class std::vector<struct FileNames::FileType,class std::allocator<struct FileNames::FileType> > const &,long,class wxPoint const &,class wxSize const &,class TranslatableString const &)" (??0FileDialogWrapper@@QAE@PAVwxWindow@@ABVTranslatableString@@ABVwxString@@2ABV?$vector@UFileType@FileNames@@V?$allocator@UFileType@FileNames@@@std@@@std@@JABVwxPoint@@ABVwxSize@@1@Z)
Error LNK2019 unresolved external symbol "public: virtual __thiscall Registry::BaseItem::~BaseItem(void)" (??1BaseItem@Registry@@UAE@XZ) referenced in function "public: virtual void * __thiscall Registry::BaseItem::`scalar deleting destructor'(unsigned int)" (??_GBaseItem@Registry@@UAEPAXI@Z)
Error LNK2019 unresolved external symbol "public: virtual __thiscall Registry::GroupItem::~GroupItem(void)" (??1GroupItem@Registry@@UAE@XZ) referenced in function __unwindfunclet$??$make_unique@UMenuPart@MenuTable@@ABVIdentifier@@V?$unique_ptr@UCommandItem@MenuTable@@U?$default_delete@UCommandItem@MenuTable@@@std@@@std@@V45@$0A@@std@@YA?AV?$unique_ptr@UMenuPart@MenuTable@@U?$default_delete@UMenuPart@MenuTable@@@std@@@0@ABVIdentifier@@$$QAV?$unique_ptr@UCommandItem@MenuTable@@U?$default_delete@UCommandItem@MenuTable@@@std@@@0@1@Z$5
The error list is much longer.
So that’s where I’m at. Where am I going wrong?