Everything was working fine, until i tried to add a reference to mysql client library. After adding mysql_config --libs to the gcc linker, the program does compile but it just "freeze" after executing line wxIMPLEMENT_APP(MyApp) .

Here in, I am providing sample program and a sample of compilation command.

Chief Justice: We have trouble dear citizens!Citizens: What it is his honor?Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 19.04/Windows 10 Pro/MacOS 10.13 - GCC/MinGW/Clang, CodeLite IDE]

Chief Justice: We have trouble dear citizens!Citizens: What it is his honor?Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 19.04/Windows 10 Pro/MacOS 10.13 - GCC/MinGW/Clang, CodeLite IDE]