Problems in Compiling Audacity 1.2.6 Win

Hello people,

I have tried compiling Audacity 1.2.6 (source). First it gave me error about the missing projects (which were optional though). For the time being I ignored them and then continued building. In the end, it gave me following errors.

Error 1 fatal error C1083: Cannot open include file: ‘FLAC/all.h’: No such file or directory
Error 2 error C2668: ‘pow’ : ambiguous call to overloaded function audacity-src-1.2.6lib-srcsoundtouchsourcesoundtouchfirfilter.cpp 180
Error 3 fatal error LNK1181: cannot open input file ‘sndfiled.lib’

Error 2 is resolved by explicitly type-casting the function call.
i.e. Changing the line
from → resultDivider = (SAMPLETYPE)pow(2, resultDivFactor);
to → resultDivider = (SAMPLETYPE)pow((double)2, (double)resultDivFactor);

However, any resolution for the Error 1 and Error 3? I’m using VS 2005 on Win XP SP2. IMHO win/compile.txt requires a little updation.