fatal error LNK1104: cannot open file 'wxmsw30ud_qa.lib'

Windows 10
Visual Studio 2013 Community
Audacity 2.1.3 from Github
Environmental Variable: WINWX=C:\wxWidgets-3.0.2
fatal error LNK1104: cannot open file ‘wxmsw30ud_qa.lib’

I am learning how to compile first and have not yet made changes to the 2.1.3 build. Any help possible on this error would be greatly appreciated. Thanks.

Here is the file you want to look at: https://github.com/audacity/audacity/blob/master/win/compile.txt. Perhaps you built “DLL Release” of wxWidgets but are building the Debug version of Audacity. The Debug version of Audacity wants the “DLL Debug” build of wxWidgets.

The environment variable needs to be set as “WXWIN”, not what you wrote.


I made sure that both audacity and wxwidgets are set to debug
also sorry for not being clear…
variable name is WXWIN
variable value is C:\wxWidgets-3.0.2

still do not know why it is not compiling error free

This file s definitely is in the following folder:

You should not have such a folder. it should be C:\wxWidgets-3.0.2\lib\vc_dll.

Also check the project linker properties using this example https://forum.audacityteam.org/t/2-errors-compiling-audacity/25302/5


This seems to be an old wxWidgets bug that has resurfaced. Look in the vc_lib folder and copy all of the *.dll files into:
you will need to do this every time you recompile wxWidgets.