Program exited with return code: -1
Posted: Thu Aug 25, 2011 8:11 pm
Hi All,
I'm a new user to Codelite. The program appears to be functioning properly (when I purposely break my code the appropriate errors appear) but when I try to run the program terminal seems to not be able to find the .cpp file. Codelite returns the following error:
Current working directory: /Users/cjnboston/Library/Application Support/codelite/COSC_102/Chapter_1_Lab_1/Debug
Running program: /Applications/CodeLite.app/Contents/SharedSupport/OpenTerm 'cd "/Users/cjnboston/Library/Application Support/codelite/COSC_102/Chapter_1_Lab_1" && cd "./Debug" && ./Chapter_1_Lab_1 '
Program exited with return code: -1
Terminal returns the following error:
(comp name):~ cjnboston$ cd "/Users/cjnboston/Library/Application Support/codelite/COSC_102/Chapter_1_Lab_1" && cd "./Debug" && ./Chapter_1_Lab_1
-bash: ./Chapter_1_Lab_1: No such file or directory
I've spent a lot of time trying to diagnose this. I'm running a Mac OS 10.6.8 (which I completely reformatted last night in case the RoR programming i was being taught a few years ago was conflicting). I appreciate any assistance - I'm very new to programming but finding it addictive!
Corinna
I'm a new user to Codelite. The program appears to be functioning properly (when I purposely break my code the appropriate errors appear) but when I try to run the program terminal seems to not be able to find the .cpp file. Codelite returns the following error:
Current working directory: /Users/cjnboston/Library/Application Support/codelite/COSC_102/Chapter_1_Lab_1/Debug
Running program: /Applications/CodeLite.app/Contents/SharedSupport/OpenTerm 'cd "/Users/cjnboston/Library/Application Support/codelite/COSC_102/Chapter_1_Lab_1" && cd "./Debug" && ./Chapter_1_Lab_1 '
Program exited with return code: -1
Terminal returns the following error:
(comp name):~ cjnboston$ cd "/Users/cjnboston/Library/Application Support/codelite/COSC_102/Chapter_1_Lab_1" && cd "./Debug" && ./Chapter_1_Lab_1
-bash: ./Chapter_1_Lab_1: No such file or directory
I've spent a lot of time trying to diagnose this. I'm running a Mac OS 10.6.8 (which I completely reformatted last night in case the RoR programming i was being taught a few years ago was conflicting). I appreciate any assistance - I'm very new to programming but finding it addictive!
Corinna