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

Building and customizing Audacity from the source code.

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

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

Permanent link to this post Posted 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.
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'

Permanent link to this post Posted by Gale Andrews » Thu Jan 12, 2017 1:36 pm

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.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 25298
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

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

Permanent link to this post Posted 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'

Permanent link to this post Posted 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
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'

Permanent link to this post Posted 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.php?p=185434#p185434.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 25298
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

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

Permanent link to this post Posted 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
Edgar
Forum Crew
 
Posts: 1474
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 7


Return to Compiling Audacity



Who is online

Users browsing this forum: No registered users and 1 guest