Re: [Audacity-devel] New stuff from CVS making build fail again....
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Vaughan J. <va...@au...> - 2006-10-20 23:19:04
|
Bo Berglund wrote: > Hi, > I feel dumb now to again ask how to compile audacity but it seems to > be a running target... > > 6 short days ago I got my VS2005 to build audacity successfully. > > Now I wanted to do it again after updating to HEAD from CVS but it > failed. So I checked out fresh like I had to do 6 days ago. Took > almost 30 minutes... > > Next I looked in the win/compile.txt file and found the new > instructions about the environment variables for ASIOSDK and DXSDK, > which I added and set to c:\ as instructed since I have no idea where > to get them from. > Bo, DirectSound and ASIO are interface protocols that are more efficient than the standard WMME. Unlike WMME, not all sound card drivers support them. You probably don't want them. The win\compile.txt file used to say "if you wish" about these, but Markus reworded it to be mandatory. Markus, why? Leland set it up so that if the variables are not defined, then it just doesn't build from those SDKs. If you define them as bogus, as you instructed in compile.txt, then I guess you get the same results, because the files aren't found, but it's unnecessary. > But it still won't build audacity... > Here are the errors: > > 1>------ Build started: Project: Audacity, Configuration: Release > Win32 ------ > 1>Linking... > 1>libnyquist.lib(sndfnint.obj) : error LNK2001: unresolved external > symbol _snd_abs > 1>libnyquist.lib(sndfnint.obj) : error LNK2001: unresolved external > symbol _snd_sqrt > 1>libnyquist.lib(sndfnint.obj) : error LNK2001: unresolved external > symbol _snd_alpasscv > 1>libnyquist.lib(sndfnint.obj) : error LNK2001: unresolved external > symbol _snd_alpassvc > 1>.\Release/audacity.exe : fatal error LNK1120: 4 unresolved externals > 1>Build log was saved at > "file://f:\Engineering\Projects\audacity\win\Release\BuildLog.htm" > 1>Audacity - 5 error(s), 0 warning(s) > These errors are not about DirectSound or ASIO. I just did a fresh checkout, and I get these errors, too. Such are the vicissitudes of checking out from HEAD, the development code. You should expect this on a regular basis. I checked in a fix for snd_abs, just a matter of adding a file to the project so it compiles the missing fn, but I don't see the definitions of _snd_sqrt and _snd_alpassvc. Somebody? > In the compile.txt file there is a reference to this URL for getting > the ASIO SDK files: http://www.steinberg.net/ > I went there but could not find anything by that name anywhere, > including on their FTP site. What exactly should I get? > Yes, they hide it pretty well. If you Google "ASIO SDK", though, it's "http://www.steinberg.net/329+M52087573ab0.html". I didn't want to put that specific page in compile.txt because they might move it. > And the DirectX SDK, where is that supposed to come from? > Google "DirectX SDK". > Are my linking errors at all related to the missing 2 SDK:s? > No. -Vaughan |