Re: [Audacity-devel] Building on Linux - WxWidgets and dependencies
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Dave P. <dpl...@gm...> - 2017-10-04 04:51:31
|
On 03/10/2017 23:34, Richard Ash wrote: > On Mon, 2 Oct 2017 06:24:35 +0200 > Dave Plater <dpl...@gm...> wrote: > >> On 02/10/2017 00:17, Richard Ash wrote: >>> On Fri, 29 Sep 2017 09:44:14 +0200 >>> Dave Plater <dpl...@gm...> wrote: >>> >>>> Audacity needs wxWidgets 3 built without STL, openSUSE has both >>>> with and without. AFAIK most other linux distributions build >>>> without STL. >>> Yes, I'm sure this is still true and should be mentioned. >>> >>> On Fri, 29 Sep 2017 09:46:22 +0200 >>> Dave Plater <dpl...@gm...> wrote: >>> >>>> Another Linux quirk, wxWidgets 3 needs to be built with the same >>>> gcc version as audacity otherwise there's a runtime widgets >>>> compatibility error. >>> This is true of any C++ library though, at least across the recent >>> ABI change for C++11. It's not as strict as "exact same gcc >>> version" but depends on how the versions were themselves >>> configured ... Certainly we should document it, and can't fix it! >>> >>> Other than these two, I see no reason not to build against the OS >>> version of wx - last time I built Audacity (which was a while ago) >>> it was against the system version without any trouble. The second >>> problem shouldn't ever hit users, because their distro should >>> ensure that they have the same compiler (ABI) version installed as >>> was used to build the library packages! >>> >>> Richard >>> >> This is a problem in openSUSE where I maintain audacity due to the >> current lts Leap:42.x distributions defaulting to gcc4.8 and audacity >> requiring 4.9. I use gcc5 to build audacity and have to use gcc5 for >> wxWidgets 3 built without STL. > Good point - does the readme say anything about required GCC version? > If not, it should do! > > Richard > Not wxWidgets or Audacity I found out the hard way via a bug at the release of Leap:42.3 See: https://bugzilla.novell.com/show_bug.cgi?id=1051717 Dave |