Search code examples
c++error-handlingbuildcodelite

Codelite program will not run


I'm trying to run a program on Codelite and it runs fine on my PC but on my mac I keep getting the error message below enter image description here

the output window says

Current working directory: /Users/me/Desktop/Class/Converter1/Debug Running program: /usr/bin/open /Applications/codelite.app/Contents/MacOS/codelite-terminal.app --args --exit --wait --working-directory "/Users/me/Desktop/Class/Converter1/Debug/" --title "./Converter1 " --cmd ./Converter1 Program exited with return code: 0

I looked around and saw people having similar problems and one person mentioned that if there was a space in the path it wouldn't work but I don't think there is. I'm not sure what else to do.


Solution

  • Which version of CodeLite?, if not sure, make sure you are using the latest weekly build of OSX: http://downloads.codelite.org

    Disable the built-in terminal emulator (so CodeLite will use Terminal.app instead) CodeLite->Global Editor Preferences->Terminal->Use CodeLite builtin terminal emulator?

    These two steps should fix your problem

    Eran