libvamp.lib missing on Windows build

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Locked
jwatte
Posts: 5
Joined: Mon May 19, 2008 12:40 am
Operating System: Please select

libvamp.lib missing on Windows build

Post by jwatte » Mon May 19, 2008 4:08 am

I tried downloading and building WX (2.8.7) and Audacity (from CVS).
Here is what I've found:
1) The instructions on at least some web/wiki pages hard-link to wx 2.8.4, although you now require 2.8.7.
2) The instructions talk about building the static lib version of wx, but the audacity project actually references the dll version (specifically, you'll end up with a missing wx/setup.h if you don't build the dll version)
3) After building everything, linking Audacity fails with a "missing libvamp.lib" -- is this some undocumented depencendy, or some library which doesn't yet have a project file?

steve
Site Admin
Posts: 81629
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: libvamp.lib missing on Windows build

Post by steve » Mon May 19, 2008 5:02 pm

I think this is the most up-to-date information about building from source in Windows: http://audacityteam.org/wiki/index.php? ... On_Windows.
Sorry I can't help further, I've only done it on Linux.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

jwatte
Posts: 5
Joined: Mon May 19, 2008 12:40 am
Operating System: Please select

Re: libvamp.lib missing on Windows build

Post by jwatte » Tue May 20, 2008 6:12 am

Steve,

Thanks for the pointer, but that page doesn't mentinon libvamp.lib (or I would already have gotten it).
There is a "libvamp" in lib-src, so I'll see what happens when I add that to the build.

jwatte
Posts: 5
Joined: Mon May 19, 2008 12:40 am
Operating System: Please select

Re: libvamp.lib missing on Windows build

Post by jwatte » Tue May 20, 2008 6:16 am

Having poked into the project files a little more, it appears as if the default build configuration of "Debug DLL" doesn't actually work. Probably Audacity (which is still in config Debug in solution config Debug DLL) tries to pick up the lib from Debug/libvamp.lib, when it only exists in Debug DLL/libvamp.lib. I'm now re-building with plain "Debug" config for all libs; let's see if that works better.

Hmm... that config, in turn, references wxBase26d instead of wxBase28d, so it seems to be a bit out of date. It seems like these project files are not automatically generated (say, using cmake, premake or cons), but instead hand maintained. That's a bit fragile, unfortunately :-(

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

Re: libvamp.lib missing on Windows build

Post by Gale Andrews » Thu May 22, 2008 11:12 pm

At the moment we are in the midst of migrating Audacity to a modular build structure, and the only way you can currently build from CVS out of the box is thus:

* build the DLL Debug configuration of wxWidgets 2.8.7
* build the Debug wx284 configuration of Audacity.

To run Audacity, you additionally need to copy the following files from your ..wxWidgets-2.8.7libvc_dll folder:

wxmsw28d_adv_vc_custom.dll
wxmsw28d_core_vc_custom.dll
wxmsw28d_html_vc_custom.dll
wxbase28d_net_vc_custom.dll
wxbase28d_vc_custom.dll

into the folder you run Audacity from. Alternatively you can add the ..wxWidgets-2.8.7libvc_dll folder to your "path" system variable. On more modern Windows systems this is accessed through "System" or "System Properties" in the Windows Control Panel, then click on "advanced" or "extended" and look for "Environment Variables".

We are aiming to get modular builds of other Audacity configurations working soon.

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

Locked