Code Blocks Won't work on Mac

Okay, so I'm taking an Intro to C class and I cannot get my Code Blocks compiler to work. I've installed Command Line tools for Xcode and I also have Xcode. However, the installation for the OSX 10.7.5 software update won't seem to work. I keep getting the following message:


file://localhost/Users/alyssacastelli/Desktop/Screen%20Shot%202013-02-04%20at%20 9.40.36%20AM.png



I have a simple "hello world" code in Code Blocks and when I hit "build and run", all I get is this:

___________________________________________________________

gcc -c "/Users/alyssacastelli/Desktop/C Programming Files/alyssahello.c" -o "/Users/alyssacastelli/Desktop/C Programming Files/alyssahello.o"

g++ -o "/Users/alyssacastelli/Desktop/C Programming Files/alyssahello" "/Users/alyssacastelli/Desktop/C Programming Files/alyssahello.o"

Process terminated with status 0 (0 minute(s), 1 second(s))

0 error(s), 0 warning(s) (0 minute(s), 1 second(s))


Checking for existence: /Users/alyssacastelli/Desktop/C Programming Files/alyssahello

Executing: osascript -e 'tell app "Terminal"' -e 'activate' -e 'do script "/Users/alyssacastelli/Desktop/C Programming Files/alyssahello"' -e 'end tell' /Users/alyssacastelli/Downloads/CodeBlocks.app/Contents/MacOS/cb_console_runner (in /Users/alyssacastelli/Desktop/C Programming Files)

Process terminated with status 0 (0 minute(s), 2 second(s))

____________________________________________________________


I've been trying to get this thing to work for years. I've taken it to my professor several times as well as a few of the other mac users in my class with no success. If someone here can figure this out, that would be great. Thanks.

MacBook Pro, Mac OS X (10.7.5), Code Blocks compiler and Xcode

Posted on Feb 4, 2013 6:58 AM

Reply
16 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Code Blocks Won't work on Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.