Does the code run successfully in a terminal, outside CodeLite?
I have tried to use another IDE (Netbeans v11.2) and I have created a similar project and it runs fine on the terminal without problems
That's not what I meant. Try running your real project in a normal terminal. Open a terminal and do:
/full/path/to/your/project/binary
by default "gnome-terminal" is the default terminal but it doesn't work with codelite
It works fine, but only if it's installed
. You can easily tell if it is, just open your normal terminal and do:
which gnome-terminal
If it is installed, it will print "/usr/bin/gnome-terminal"
I have installed "Konsole " and "lxterminal" and they both are worked well.
The problem occurs even with the other terminals (Konsole, lxterminal).
Do you mean, at first CodeLite ran your project OK when konsole/lxterminal were selected, but now the same terminals don't work? Or did they 'work well' for other things, but never for CodeLite?
Is there a suggestion to solve that problem?
I can't guess why terminals fail to work for your CodeLite on your ubuntu, but work well for other people. It must either be something different about your system, or about your Workspace/Project.
We can't test your system, but if you attach here, or pastebin somewhere, a tarball of your Project, we can test that.