Code::Blocks Forums
User forums => Help => Topic started by: 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 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
-
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,
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 (http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_is_Code::Blocks.3F), not a compiler (http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F)).
See installing a compiler (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler) and troubleshooting (http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F).
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.