I installed codelite from AUR. When I try to make a simple "Hello world", this is what I get.
Not even a new window.
I try the same code in a Ubuntu machine, and it works. So I think there are some libraries missing right?
I think you may have a more mundane problem. According to this guide, it looks like you just have a typo somewhere;
div curl F = 0
Sorry if this counts as a necropost, but I just had this same issue and managed to solve it.
Yes, the 127 means "Command not found," but it has nothing to do with user input. If you check the console, CodeLite is trying to run something like this:
/usr/bin/codelite_xterm './YourProgram ' '/bin/sh -f /usr/bin/codelite_exec ./YourProgram'
Coincidentally, if you run /usr/bin/codelite_xterm yourself with no arguments, it will still return 127. This is because it tries to invoke xterm, which isn't installed.
The CodeLite AUR package needs to depend on xterm to avoid this - I'll bother the packager.