Building audacity with wxWidgets 3.1

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
jonrysh
Posts: 6
Joined: Sat May 10, 2008 12:18 am
Operating System: Please select

Building audacity with wxWidgets 3.1

Post by jonrysh » Thu Mar 03, 2016 6:38 pm

Is it possible to build audacity using wxWidgets 3.1 (the current version)? Audacity's configure.ac insists on having version 3.0. The current wxWidgets release implies that the current version (3.1) should be compatible with version 3.0 . I would like to have some advice before editing configure.ac and possibly having trouble in the future while using a slightly buggy build.

System is Fedora-23 running on 4 processor x86_64 intel hardware
Windowing system is KDE 5.19
Audacity source is audacity-minsrc-2.1.2.tar.xz

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Building audacity with wxWidgets 3.1

Post by steve » Thu Mar 03, 2016 8:00 pm

jonrysh wrote:Is it possible to build audacity using wxWidgets 3.1 (the current version)?
wxWidgets 3.1 is the current "development version".
wxWidgets 3.0.2 is the "latest stable release version."

Building Audacity with wx3.1 is entirely untested. I don't know how much you would need to do to get Audacity to build with 3.1 (I've not tried), but I'd not be surprised if there are problems. You are of course free to try if you wish, but if you have problems we are not able to help.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

jonrysh
Posts: 6
Joined: Sat May 10, 2008 12:18 am
Operating System: Please select

Re: Building audacity with wxWidgets 3.1

Post by jonrysh » Fri Mar 04, 2016 4:25 pm

steve wrote:
jonrysh wrote:Is it possible to build audacity using wxWidgets 3.1 (the current version)?
wxWidgets 3.1 is the current "development version".
wxWidgets 3.0.2 is the "latest stable release version."

Building Audacity with wx3.1 is entirely untested. I don't know how much you would need to do to get Audacity to build with 3.1 (I've not tried), but I'd not be surprised if there are problems. You are of course free to try if you wish, but if you have problems we are not able to help.
Quite right, my mistake. However audacity-minsrc-2.1 doesn't build on my system on account of some changes in the header files; "const" has been added in a few places. The attached diffs reveal all
Attachments
diffs.txt
Diffs to FFmpeg.h needed to build on my system
(1.36 KiB) Downloaded 46 times

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Building audacity with wxWidgets 3.1

Post by Gale Andrews » Fri Mar 04, 2016 5:38 pm

jonrysh wrote:However audacity-minsrc-2.1 doesn't build on my system on account of some changes in the header files; "const" has been added in a few places. The attached diffs reveal all
Two things should be clarified. There is no "audacity-minsrc-2.1" (supplied by us). There are 2.1.0, 2.1.1 and 2.1.2.

Audacity does not officially support greater than to FFmpeg 2.3.x (or libav 0.10.x) as stated at http://manual.audacityteam.org/o/man/fa ... html#linff. Other than patching Audacity source files or building a supported version of FFmpeg yourself, you "may" be able to work around this by configuring Audacity with --disable-dynamic-loading which disables Audacity's Libraries Preferences.

Experience with --disable-dynamic-loading varies. On Ubuntu 15.04 I still got crashes exporting using Audacity built against the (too recent) system FFmpeg with --disable-dynamic-loading.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply