Pikosocou It works fine for me, but you'll have to change the "Terminal to launch console programs:" setting in the "Environment Settings", see screenshot below. Since you use Solus Gnome, one terminal you should have is gnome-terminal
(but you can use whichever one you prefer, provided it is installed)
xterm
is not available on Solus, but unfortunately the standard setting for Code::Blocks