Error compiling Audacity 2.3.2: invalid use of incomplete type ‘class wxTreeCtrl’ [SOLVED]

Do you know which version of Ubuntu it is based on?

I wrote step by step instructions for building on Ubuntu 18.04 here: Building Audacity 2.3.1 on Ubuntu 18.04