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

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
redhat1968
Posts: 7
Joined: Tue Sep 27, 2016 12:09 am
Operating System: Windows 8 or 8.1

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

Post by redhat1968 » Thu Jan 12, 2017 2:41 am

Windows 10
Visual Studio 2013 Community
Audacity 2.1.3 from Github
wxWidgets-3.0.2
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.

Gale Andrews
Quality Assurance
Posts: 26087
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10
Contact:

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

Post by Gale Andrews » Thu Jan 12, 2017 1:36 pm

Here is the file you want to look at: https://github.com/audacity/audacity/bl ... ompile.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.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

redhat1968
Posts: 7
Joined: Tue Sep 27, 2016 12:09 am
Operating System: Windows 8 or 8.1

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

Post by redhat1968 » Fri Jan 13, 2017 12:10 am

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

redhat1968
Posts: 7
Joined: Tue Sep 27, 2016 12:09 am
Operating System: Windows 8 or 8.1

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

Post by redhat1968 » Fri Jan 13, 2017 1:05 am

This file s definitely is in the following folder:
C:\wxWidgets-3.0.2\lib\vc_lib

Gale Andrews
Quality Assurance
Posts: 26087
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10
Contact:

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

Post by Gale Andrews » Fri Jan 13, 2017 6:34 am

redhat1968 wrote:This file s definitely is in the following folder:
C:\wxWidgets-3.0.2\lib\vc_lib
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 http://forum.audacityteam.org/viewtopic ... 34#p185434.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Edgar
Forum Crew
Posts: 1516
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7
Contact:

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

Post by Edgar » Fri Jan 13, 2017 5:28 pm

redhat1968 wrote:This file s definitely is in the following folder:
C:\wxWidgets-3.0.2\lib\vc_lib
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:
C:\wxWidgets-3.0.2\lib\vc_dll\
you will need to do this every time you recompile wxWidgets.
-Edgar
compiling Audacity daily
64-bit Windows 7

Post Reply