Re: [Audacity-devel] problems building wxWidgets/compiling Audacity
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: LRN <lr...@gm...> - 2008-03-28 01:47:09
|
Gale Andrews wrote: > | From Vaughan Johnson<va...@au...> > | Thu, 27 Mar 2008 15:05:20 -0700 > | Subject: [Audacity-devel] problems building wxWidgets/compiling Audacity > >> Thanks, Samuel& Jeff. I thought I'd heard there were problems with >> 2.8 .x on Windows, but there's nothing on >> http://audacityteam.org/wiki/index.php?title=Release_Checklist about it. >> >> Can anyone else comment on what the problems are, now that Samuel has >> gotten it building (although I think that's the same build flag we've >> documented in compile.txt)? >> > > Did Samuel or Jeff get Audacity building with 2.8 though? > > I've never got Audacity to build on Windows XP yet with a > 2.8 wxWidgets version (but beyond checking for the correct > runtime library as Samuel states, I am no expert). The last time > I tried was with 2.8.4 using Visual Studio 2005. I got lots of > problems with linker errors if I built a debug build, even with > the "Debug wx284 target" that some developers have built with > in the past. I got very close with a Unicode Release build, the only > errors being: > > > >> SimpleBlockFile.cpp >> ..\src\blockfile\SimpleBlockFile.cpp(496) : error C2065: 'MAX_PATH' : undeclared identifier >> >> PCMAliasBlockFile.cpp >> ..\src\blockfile\PCMAliasBlockFile.cpp(166) : error C2065: 'MAX_PATH' : undeclared identifier >> > > Martyn suggested to me that MAX_PATH was declared in wxWidgets, so I > might have a faulty build of Widgets. I have not tried again since, but > the build of Widgets I had then compiled with no errors in Visual Studio. > > The last time I tried to build Audacity (with any wxWidgets version) in > MSVC++ 2008 Express (end of last year) it wanted to "convert" the > Audacity solution file to the "latest format" and perpetually hung doing > so. Therefore on: > http://audacityteam.org/wiki/index.php?title=Developing_On_Windows > > I'm currently suggesting go for 2005 Express, but perhaps we might > update that now if we are sure these problems have been resolved? > I'm not keen recommending 2005 Express as its installer hangs on > many machines, including both my XP ones. > > > Gale > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Audacity-devel mailing list > Aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > I built Audacity from trunk, with wxWidgets 2.8, MSVS 2005. I didn't used wx284 target, instead i tweaked existing one (Debug Unicode). As for widgets, they could be built without any issues from VS 6.0 projects (after project conversion is made and code generation is changed to Multithreaded). Audacity-supplied MSVS 2003-2005 projects are buggy. |