Page 1 of 1
libvamp.lib missing on Windows build
Posted: Mon May 19, 2008 4:08 am
by jwatte
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?
Re: libvamp.lib missing on Windows build
Posted: Mon May 19, 2008 5:02 pm
by steve
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.
Re: libvamp.lib missing on Windows build
Posted: Tue May 20, 2008 6:12 am
by jwatte
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.
Re: libvamp.lib missing on Windows build
Posted: Tue May 20, 2008 6:16 am
by jwatte
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

Re: libvamp.lib missing on Windows build
Posted: Thu May 22, 2008 11:12 pm
by Gale Andrews
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