Building a small wxWidgets library (linux)

Has anyone worked out a definitive list of the feature options that can be safely disabled in the Audacity-modified wxWidgets 3.1.3 libraries? In a mood of idle curiosity, I tried to compile a minimalist version using the suggested list of unnecessary features given in the instruction document: wxWidgets/docs/gtk/ . In retrospect, this might have been naive.

In any event, the make process rapidly blows up due to a variety of unmet requirements apparently set elsewhere in the config files, things like wxUSE_MIMETYPE, wxJoystick, wxUSE_SVG, usw. I had kind of thought the document might have been specifically tailored for building wxWidgets for use with Audacity, but maybe it’s an artifact from earlier times.

Anyway, I wondered if anyone had ever worked out the minimal configuration for use with Audacity.

I was building this under Fedora linux (33) if that matters.


Audacity needs:

The total size of these shared object files is about 14.3 MB.

These are built automatically when Audacity is configured with:


On Ubuntu 18.04, I generally build Audacity with:

cmake -DCMAKE_BUILD_TYPE=Release -Daudacity_use_ffmpeg=loaded -Daudacity_use_wxwidgets=local ..
make -j8

or for a debug build:

cmake -DCMAKE_BUILD_TYPE=Debug -Daudacity_use_ffmpeg=loaded -Daudacity_use_wxwidgets=local ..
make -j8