In complement, try installed last nigthly CB with WSL on Windows 11 (distribution used "Ubuntu-22.04") ... success ... with configuration PPA of Waviou.
I can run CB SVN into WSL terminal ...
Name : Code::Blocks
Version : svn-r13634
SDK Version : 2.25.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website :
https://www.codeblocks.orgOS : Linux 5.15.167.4-microsoft-standard-WSL2 x86_64
Scaling factor : 1.000000
Detected scaling factor: -22369621.333333
Display PPI : -2147483648x-2147483648
Display count : 1
Display 0 : XY=[0,0]; Size=[1920,1080]; Primary
wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.33.
Why not on Linux Mint 22.1 directly ?
Regards.