News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

error couldn't create project directory

Started by Trendsdale, January 13, 2011, 02:58:42 AM

Previous topic - Next topic

Trendsdale

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

stahta01

Use a location where you have rights to create a folder.
Note: Under "Program Files" is NOT a good location.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

Which version of C::B and what's more which OS are you on ?

Trendsdale


PizzaNapoli

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.

oBFusCATed

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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

PizzaNapoli

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.


PizzaNapoli


oBFusCATed

Why do you want to have your project on a samba server?
Sharing with another person/computer?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

PizzaNapoli

#9
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.

oBFusCATed

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 :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]