Code::Blocks Forums

User forums => Help => Topic started by: Michael2 on May 17, 2018, 02:10:12 am

Title: Error messages when trying to create projects
Post by: Michael2 on May 17, 2018, 02:10:12 am
Whenever I create a new project, I get two error messages.  The first one reads, "Couldn't save project <invalid path> (Maybe the file is write-protected?)"  The second one reads "Could not open the file 'main.cpp'.  The file does not exist."  How can I fix this problem?
Title: Re: Error messages when trying to create projects
Post by: oBFusCATed on May 17, 2018, 02:20:45 am
What is the path you've selected in the wizard where the project would be saved?
Title: Re: Error messages when trying to create projects
Post by: Michael2 on May 17, 2018, 02:41:56 am
I don't know.  I don't know how to find that.  I'm trying to reinstall it now.
Title: Re: Error messages when trying to create projects
Post by: Michael2 on May 17, 2018, 02:47:46 am
Well, I see where the <invalid path> is coming from, but I don't know how to change it.
Title: Re: Error messages when trying to create projects
Post by: Michael2 on May 17, 2018, 02:49:59 am
I think I've got it now.  I didn't realize you had to create a folder to save the project in.
Title: Re: Error messages when trying to create projects
Post by: oBFusCATed on May 17, 2018, 09:12:17 am
In theory C::B will automatically create the folder you've specified in the wizard.
Is this working correctly?
Title: Re: Error messages when trying to create projects
Post by: mikem on January 08, 2020, 03:23:27 pm
In theory C::B will automatically create the folder you've specified in the wizard.
Is this working correctly?

It will create the folder you've specified, the problem here is knowing you have to specify a folder as most software programs have a default one and the field being blank makes it easy to miss the first time.  I just had the same problem.
Title: Re: Error messages when trying to create projects
Post by: oBFusCATed on January 08, 2020, 08:32:37 pm
Is this happening only the first time or every time you start the wizard?