Unable to compile in Visual Studio 2013

Getting this error

Error 1 error MSB8020: The build tools for v141 (Platform Toolset = ‘v141’) cannot be found. To build using the v141 build tools, please install v141 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting “Upgrade Solution…”.

If you are building Audacity 2.2.2, follow the instructions in /win/compile.txt.
If you are building the current development code, I’m hoping that the build instructions will be updated soon.

When I am compiling Audacity in VS2017 following type of errors are coming

Error LNK2001 unresolved external symbol “__declspec(dllimport) public: class wxColour & __thiscall wxColour::operator=(class wxColour &&)” (_imp??4wxColour@@QAEAAV0@$$QAV0@@Z)

You are unlikely to receive helpful replies unless you provide sufficient information about what you are trying to do.
I would suggest that you try following the instructions for building Audacity 2.2.2. Those instructions are complete and they work.

I am trying to build Audacity in VS2017. That v141 issue is resolve in building Audacity in VS2017 but another errors are coming which is

Error LNK2001 unresolved external symbol “__declspec(dllimport) public: class wxColour & __thiscall wxColour::operator=(class wxColour &&)” (_imp??4wxColour@@QAEAAV0@$$QAV0@@Z)

In win/compile.txt, There’s a section on linker errors. Try the suggestions made there.

The source code for Audacity 2.2.2 is available here: https://github.com/audacity/audacity/releases
Build instructions can be found in the source code in /win/compile.txt

The compile.txt document says that it is valid for Audacity 2.1.3 and 2.2.0, but it is also valid up to version 2.2.2.

The correct version of wxWidgets is available here: https://github.com/audacity/wxWidgets/tree/WX_3_0_BRANCH

The correct version of MSVC is “Microsoft Visual Studio 2013 C++”
The “Express” or “Community” versions are OK (and free).

Ensure that WxWidgets 3.0.2 is built correctly before proceeding with building Audacity.

Thanks for the Reply
The error was that it was unable to find the setup.h from wxWidgets so I pass the absolute path of the wxWidgets setup.h and my problem is solved.