Code::Blocks Forums

User forums => Help => Topic started by: Trendsdale on January 13, 2011, 02:58:42 am

Title: error couldn't create project directory
Post by: Trendsdale on January 13, 2011, 02:58:42 am
I have just installed Code Blocks and when I try to start a project, it says "couldn't create project directory". I have tried re-installing the program and nothing still. Has anyone had this issue and how can I fix it?

I click 'console application'
'C++'
add title
then I get the error
Title: Re: error couldn't create project directory
Post by: stahta01 on January 13, 2011, 04:01:41 am
Use a location where you have rights to create a folder.
Note: Under "Program Files" is NOT a good location.

Tim S.
Title: Re: error couldn't create project directory
Post by: Jenna on January 13, 2011, 09:41:52 am
Which version of C::B and what's more which OS are you on ?
Title: Re: error couldn't create project directory
Post by: Trendsdale on January 13, 2011, 07:27:04 pm
thanks Tim. I had to choose a folder.
Title: Re: error couldn't create project directory
Post by: PizzaNapoli on January 19, 2011, 04:37:45 pm
Hi

I have a similar problem.

There is no problem to create a new project on my local drive, f.ex. c:\test\.

But if I want to create on a network path like \\server\JohnDoo\myProjects\ I got the same error: couldn't create the project directory.

Doesn't support cb UNC path ?

I'm working with cb10.05 on Windows 7 (x64) and have full access rights to server paths.

Thanks for feedback.
Title: Re: error couldn't create project directory
Post by: oBFusCATed on January 19, 2011, 04:52:31 pm
Have you tried to mount (map) the network path to a drive?

p.s. there is a chance that gcc and gdb won't recognize networked/samba paths
Title: Re: error couldn't create project directory
Post by: PizzaNapoli on January 19, 2011, 05:35:05 pm
No, I didn't mapped it.

But normally it's not nescessary. If I create the directories manually I can work, compile and link without problems.

So the gcc compiler works with UNC path.

The problem is only while creating a new project, f.ex. from a template like console application, irrlicht, ogre etc.

Title: Re: error couldn't create project directory
Post by: PizzaNapoli on January 22, 2011, 03:46:05 pm
So really no chance to use UNC paths  :( ?
Title: Re: error couldn't create project directory
Post by: oBFusCATed on January 22, 2011, 04:08:04 pm
Why do you want to have your project on a samba server?
Sharing with another person/computer?
Title: Re: error couldn't create project directory
Post by: PizzaNapoli on January 22, 2011, 04:44:50 pm
Yes, share with others or mainly with myself  :D
In the office, at home, everywhere where I am I have access to the server.

It's working with driver letter mapping. But I don't like that. It's very old fashioned for me.

Btw: It's not a samba server it's just a Windows XP computer.
Title: Re: error couldn't create project directory
Post by: oBFusCATed on January 22, 2011, 08:38:49 pm
Hm, have you tried to use proper VCS ( http://en.wikipedia.org/wiki/Revision_control )?
Something like subversion, git, mercurial?

p.s. I call all smb servers samba :)