Re: [Audacity-devel] ffmpeg.h doesn't compile when USE_FFMPEG off
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Gale A. <ga...@au...> - 2008-06-17 18:02:35
|
| From LRN <lr...@gm...> | Tue, 17 Jun 2008 09:57:32 +0400 | Subject: [Audacity-devel] ffmpeg.h doesn't compile when USE_FFMPEG off > Gale Andrews wrote: > >>> Now tried rebuilding with Richard's 1.11 of FFmpeg.cpp (FFmpeg > >>> enabled) and get in the linking stage: > >>> > >>> Linking... > >>> Creating library C:\Program Files\Audafterbranch\audacity\win\Release\ > >>> Audacity.lib and > >>> object C:\ProgramFiles\Audafterbranch\audacity\win\Release\Audacity.exp > >>> > >>> FileFormatPrefs.obj : error LNK2001: unresolved external symbol > >>> "class wxString __cdecl GetFFmpegVersion(class wxWindow *,bool)" > >>> (?GetFFmpegVersion@@YA?AVwxString@@PAVwxWindow@@_N@Z) > >>> > >>> C:\Program Files\Audafterbranch\audacity\win\Release\Audacity.exe : > >>> fatal error LNK1120: 1 unresolved externals > >>> > >>> > >>> > >> Works for me (both FFmpeg.cpp and FFmpeg.h is from current HEAD). > >> > > > > Thanks for the export multiple fix. > > > > I've fully updated and down to one error (now building Unicode Debug > > with precompiled headers): > > > > FFmpeg.cpp > > c:\program files\audafterbranch\audacity\src\ffmpeg.cpp(63) : error C2511: > > 'FFmpegLibs::FFmpegLibs(bool)' : overloaded member function not found in > > 'FFmpegLibs' > > > > > I changed the constructor (removed bool argument). Do you *really* have > the latest FFmpeg.cpp/h? It must have been tied in to the time I specifically updated to an older version of FFmpeg.cpp in order to build - although I was deleting that file and updating normally to get a new copy of it, the revision graph showed I was still getting sent the old 1.8 version. Will have to read Tortoise help to see if updating to a specific date really then over-rides subsequent normal updates, but I quick fixed by pasting in from the web site. I am now getting replicable crashes as soon as I use the FFmpeg importer to import anything, and as soon as I try to locate the FFmpeg library with the Prefs. button. I have saved the call stacks but I'll do a complete new checkout and re-build first to make sure. Gale |