Page 1 of 1

Keep getting return code -1 when compiling

Posted: Sun Jan 01, 2017 1:24 pm
by Frosty
I updated my Codellite from version 9.1.0 to 9.2.0 yesterday on Ubuntu 16.04. Today when compiling I just keep getting "return code -1" when compiling a simple c-program.

Coldelite 9.2.0
Package installed using install instructions on Download site, thus not selfcompiled.
OS Ubuntu 16.04.4 64 bit.
gcc and g++ Ubuntu 5.4.0-6ubuntu16.0.4 5.4.0 20160609

Code (c-language):
------------------------------------------------------------
#include <stdio.h>

int main()
{
printf("hello world\n");
return 0;
}
----------------------------------------------------

Build window:
---------------------------------------------------------
Current working directory: /home/m/Documents/Test_2/tt/Debug
Running program: /usr/lib/codelite/codelite_xterm './tt ' '/bin/sh -f /usr/bin/codelite_exec ./tt'
Program exited with return code: -1
----------------------------------------------------------

Perhaps needless to say that it worked just well with 9.1.0.

What may be wrong

Re: Keep getting return code -1 when compiling

Posted: Sun Jan 01, 2017 1:53 pm
by eranif
You are not compiling - you are running your code.
To compile, use F7

Please read the "HOW TO POST" (link in my signature)

Re: Keep getting return code -1 when compiling

Posted: Sun Jan 01, 2017 2:09 pm
by Frosty
Mixed up the terms, sorry.

I have pressed F7 then Ctrl-F9, and I do get the mentioned.

Any clues?

Re: Keep getting return code -1 when compiling

Posted: Sun Jan 01, 2017 3:55 pm
by eranif
Still, please provide the build log. Read the "HOW TO POST" thread

Eran