News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problems abt code block on mac

Started by ChesterMac, October 04, 2011, 12:21:24 AM

Previous topic - Next topic

ChesterMac

Every time when i finishing coding i can't build the file. The build log says nothing to be done and when i try to run it, it shows

Last login: Mon Oct  3 18:19:32 on ttys009
Kes-MacBook-Air:~ kewang$ /Users/kewang/Documents/Untitled1
-bash: /Users/kewang/Documents/Untitled1: Permission denied
Kes-MacBook-Air:~ kewang$

Does anyone know wit all the mean?

thank you

Alpha

The Permission denied could mean anything from the target being read-only, missing read/write access (user privileges), folder/file does not exist, or a miss-parsed error.  None of these are very likely.

My guess is that your file was not saved with a proper file extension (ex: *.c or *.cpp).  However,
Quote from: ChesterMac on October 04, 2011, 12:21:24 AM
Every time when i finishing coding i can't build the file. The build log says nothing to be done...
often means that you do not have a compiler set up (note that Code::Blocks is an IDE, not a compiler).
See installing a compiler and troubleshooting.

By the way, when posting log output, could you please use code tags?

Note: I have no experience on a Mac, so there could be something obvious I have misunderstood/not noticed.