Building Tenacity Error

Author: BarmarelCreated Apr 23, 2022Updated Jul 16, 2022
Labelsbug

Guidelines

  • I have read the guidelines.

Version/Commit hash

No response

Describe the bug.

I do everything exactly according to these instructions: https://github.com/tenacityteam/tenacity/blob/master/BUILDING.md

And I get this error when I compile:

/home/user/tenacity/src/TenacityApp.cpp:872:1: error: 'wxString::wxString(int)' is private within this context }; ^ In file included from /usr/local/include/wx-3.1/wx/bitmap.h:18:0, from /home/user/tenacity/src/TenacityHeaders.h:28, from /home/user/tenacity/build/src/CMakeFiles/Tenacity.dir/cmake_pch.hxx:6, from <command-line>:0: /usr/local/include/wx-3.1/wx/string.h:324:3: note: declared private here wxString(int); ^~~~~~~~ [371/750] Building CXX object src/CMakeFiles/Tenacity.dir/AudioIO.cpp.o ninja: build stopped: subcommand failed.

How can this be fixed?

Expected behavior

Compiles without errors.

OS

Linux Mint 19.3

Additional context

No response

This issue is not a duplicate

  • I have confirmed this issue isn't a duplicate.

Source: tenacityteam/tenacity-legacy