Tempted to set up a programming environment under Ubuntu 18.04 (16.04)(20.04)?
Here are some clues.
Each fresh install of Ubuntu or new version of wxWidgets means trouble (for me, at least).
The goal is to produce applications without too many dependencies (static mode).
Also to compile versions aimed both at Windows and Linux environments (whence the need for cross compilation).
Codeblocks is a neat IDE (Integrated Development Environment)
Codebloks comes with a version of wxWidgets, but not for static makes.
So you'll have to compile wxWidgets in static mode.
You'll also have to compile a separate version aimed at Windows apps for the cross compilation.
I initially used the very clear page Cross Compiling wxWidgets Applications on Linux
but got frustrated not to find an updated page.
This is amateur stuff, hopefully it may help someone to set up a working programming environment.
If you find errors or omissions, let me know.