Hi guys,
I'm really excited to get started with programming, but I'm having serious issues with compiling my first program. CodeBlocks keeps saying "Permission denied". I've been trying everything for hours now, and I understand it's either something with the installation of the compiler or some problem with the system permissions (I'm using a Mac, Yosemite).
When setting up the compiler (Settings>Compiler>Global compiler settings>Toolchain executables), it says that it auto-detected the installation path of "GNU GCC Compiler", but I've also tried manually setting up a gfortran version, both times unsuccessful.
In the case it's about system permissions: I'm using an admin account and I've enabled developer mode. I know from other posts that system permissions is not something that should be posted here, but if this turns out to be my problem I would really appreciate if someone would point me in the right direction with this!
Thanks
Last login: Fri Dec 26 02:03:14 on ttys000
Ns-MacBook-Air:~ nts$ /Users/nts/Documents/bldkk
-bash: /Users/nts/Documents/bldkk: Permission denied
Ns-MacBook-Air:~ nts$
Nothing to be done (all items are up-to-date).
Checking for existence: /Users/nts/Documents/bldkk
Executing: osascript -e 'tell app "Terminal"' -e 'activate' -e 'do script "/Users/nts/Documents/bldkk"' -e 'end tell' /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner (in /Users/nts/Documents)
Process terminated with status 0 (0 minute(s), 0 second(s))