Unable to compile in Visual Studio 2013
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
-
arizansari
- Posts: 12
- Joined: Thu Aug 09, 2018 11:01 am
- Operating System: Windows 10
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...".
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...".
Re: Unable to compile in Visual Studio 2013
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.
If you are building the current development code, I'm hoping that the build instructions will be updated soon.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
arizansari
- Posts: 12
- Joined: Thu Aug 09, 2018 11:01 am
- Operating System: Windows 10
Unable to compile in Visual Studio 2017
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 &&)" ([email protected]@[email protected][email protected]@Z)
Error LNK2001 unresolved external symbol "__declspec(dllimport) public: class wxColour & __thiscall wxColour::operator=(class wxColour &&)" ([email protected]@[email protected][email protected]@Z)
Re: Unable to compile in Visual Studio 2013
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 would suggest that you try following the instructions for building Audacity 2.2.2. Those instructions are complete and they work.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
arizansari
- Posts: 12
- Joined: Thu Aug 09, 2018 11:01 am
- Operating System: Windows 10
Re: Unable to compile in Visual Studio 2013
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 &&)" ([email protected]@[email protected][email protected]@Z)
Re: Unable to compile in Visual Studio 2013
In win/compile.txt, There's a section on linker errors. Try the suggestions made there.
Re: Unable to compile in Visual Studio 2013
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/t ... 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.
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/t ... 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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
arizansari
- Posts: 12
- Joined: Thu Aug 09, 2018 11:01 am
- Operating System: Windows 10
Re: Unable to compile in Visual Studio 2013
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.
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.