PDA

View Full Version : code::blocks permission denied



wirate
August 29th, 2009, 11:08 PM
I am an absolute beginner (you might guess that by the question)
In code::blocks, I start a new source file and copy paste a piece of code into it. when i click bulid and run, something like a terminal pops up and tells me 'Permission denied'.
any help?

TheStatsMan
August 29th, 2009, 11:37 PM
You need to save it with the extension .cpp

wirate
August 29th, 2009, 11:49 PM
nobody calls me stupid alright :)

moma
August 30th, 2009, 08:23 AM
Hello,

Where did you create and save your project?
Put projects in your HOME folder. That's normally the only place where you have read and write access.

Eg. /home/username/projects/ is a good place.

Use the File -> New -> Project menu to create a project from a template/wizard.
http://bildr.no/thumb/477948.jpeg (http://bildr.no/view/477948)

See also: http://www.futuredesktop.org/codeblocks_on_ubuntu_9.04.html
---
ps. if interested in Android... (http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html)

wirate
August 30th, 2009, 10:42 AM
the problem was the cpp extension. thanks for your replies.