Linking in Visual Studio 2017

Successfully compiled VC++ on Visual Studio 2017, but when linking, get the following unexpected unresolved externals:

Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol “__declspec(dllimport) public: class wxColour & __thiscall wxColour::operator=(class wxColour &&)” (_imp??4wxColour@@QAEAAV0@$$QAV0@@Z) Audacity …\audacity-master\win\Projects\Audacity\AColor.obj

Error LNK2001 unresolved external symbol “__declspec(dllimport) public: class wxImage & __thiscall wxImage::operator=(class wxImage &&)” (_imp??4wxImage@@QAEAAV0@$$QAV0@@Z) Audacity …\audacity-master\win\Projects\Audacity\Theme.obj

Error LNK2001 unresolved external symbol “__declspec(dllimport) public: __thiscall wxColour::wxColour(class wxColour &&)” (_imp??0wxColour@@QAE@$$QAV0@@Z) Audacity …\audacity-master\win\Projects\Audacity\AColor.obj

Error LNK2001 unresolved external symbol “__declspec(dllimport) public: __thiscall wxImage::wxImage(class wxImage &&)” (_imp??0wxImage@@QAE@$$QAV0@@Z) Audacity …\audacity-master\win\Projects\Audacity\ImageManipulation.obj

Error LNK2001 unresolved external symbol _compress2 Audacity …\audacity-master\win\Projects\Audacity\libid3tag.lib(util.obj)

Error LNK2001 unresolved external symbol _uncompress Audacity …\audacity-master\win\Projects\Audacity\libid3tag.lib(util.obj)

Any ideas how to fix?

There’s a lot of changes affecting the current development code that are not yet documented. For now I would recommend building Audacity 2.2.2 and following the instructions in /win/compile.txt (using VS 2013 and Wx 3.0.2)

Audacity 2.3.0 is due to be released in about a month, so the build instructions should be complete by then.

Building Audacity version 2.2.2 in Visual Studio 2017 and getting the following error:
C1189 Macro definition of snprintf conflicts with Standard Library function declaration (in stdio.h)
Projects affected: libsndfile, libnyquist, lv2

Building Audacity 2.2.2 in Visual Studio 2017 with Platform Toolset set to 2013 and no longer get errors regarding macro definition of snprintf.
Reduced to two errors that are the same:
C2766 explicit specialization; ‘std::hash’ has already been defined
Occurs in projects mod-script-pipe and Audacity. File affected: …\audacity-audacity-2.2.2\src\memoryx.h on line 1182

https://github.com/audacity/audacity/blob/Audacity-2.2.2/win/compile.txt

Thanks Steve,
Was not following instructions close enough.
Though I did use the latest stable release of wxWidgets, which is version 3.0.4.