Return code 255 error on Mac
Posted: Mon Apr 23, 2012 5:46 pm
I apologize if this specific problem was addressed somewhere else in the forum. I searched and could not find anything similar enough to help me.
I just installed codelite v 3.5.5376 on a mac running OS X 10.7.3.
This is the code I tried running.
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World";
return ();
}
It returned this message in the output window
Current working directory: /Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice
Running program: /Users/tonyroberts/Downloads/CodeLite 2.app/Contents/SharedSupport/OpenTerm 'cd "/Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice" && cd "./Release" && ./Practice '
Program exited with return code: 255
I tried going through workspace and retagging (full), it produced this in the output window
Current working directory: /Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice
Running program: /Users/tonyroberts/Downloads/CodeLite 2.app/Contents/SharedSupport/OpenTerm 'cd "/Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice" && cd "./Release" && ./Practice '
Program exited with return code: -1
I have on a semesters worth of programming experience, and am unsure as how to correct this, any help is much appreciated.
I just installed codelite v 3.5.5376 on a mac running OS X 10.7.3.
This is the code I tried running.
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World";
return ();
}
It returned this message in the output window
Current working directory: /Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice
Running program: /Users/tonyroberts/Downloads/CodeLite 2.app/Contents/SharedSupport/OpenTerm 'cd "/Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice" && cd "./Release" && ./Practice '
Program exited with return code: 255
I tried going through workspace and retagging (full), it produced this in the output window
Current working directory: /Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice
Running program: /Users/tonyroberts/Downloads/CodeLite 2.app/Contents/SharedSupport/OpenTerm 'cd "/Users/tonyroberts/Library/Application Support/codelite/Computer Science/Practice" && cd "./Release" && ./Practice '
Program exited with return code: -1
I have on a semesters worth of programming experience, and am unsure as how to correct this, any help is much appreciated.