Para todos los ejemplos, incluyendo "minimal.cpp" tenía ERROR al compilar con wxWidgets 3.0 tipo "
error: expected ‘;’ at end of member declaration virtual bool OnInit()
wxOVERRIDE". Para actualizar a versión 3.1.2 usé lo indicado en
https://docs.wxwidgets.org/3.1.5/overview_install.html :
sudo apt-get install libwxgtk3.1-dev
tras lo cual he podido compilar y correr sin problemas los ejemplos "minimal.cpp" y "calendar.cpp".
Linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux.
DeepL translation:
For all examples, including "minimal.cpp" I had ERROR when compiling with wxWidgets 3.0 type "error: expected ';' at end of member declaration virtual bool declaration OnInit() wxOVERRIDE". To upgrade to version 3.1.2 I used the following at
https://docs.wxwidgets.org/3.1.5/overview_install.html :
sudo apt-get install libwxgtk3.1-dev
after which I was able to compile and run the "minimal.cpp" and "calendar.cpp" examples without problems.
Linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux.
Translated with
www.DeepL.com/Translator (free version)