Reputation:
I've recently managed to install Code::Blocks and a MinGW compiler on a new computer.
I have an issue with a debugger on Code::Blocks. It literally won't let me create any project and give me an error message.
The error message goes as follows:
wxWidgets Debug Alert
A debugging check in this application has failed.
../../src/common/file.cpp(361): assert ""(pBuf != __null) && IsOpened()"" failed in Write()
Here's a picture of the whole thing: [error message]
If I press stop, then everything crashes.
If, however, I press Continue, I get this warning:
Warning
Couldn't save project C:\Users\40737\Documents\yy\yy.cbp
(Maybe the file is write-protected?)
Here's a picture: [warning message]
If I go ahead and click okay, the same error shows up again:
A picture, again: [error shows up again]
What is there to do?
Upvotes: 9
Views: 59312
Reputation: 1
i got this bug when i name a file with a very long name, so just in case someone have the same issue with me, try shorten your file
Upvotes: 0
Reputation:
Please, select the path while creating a new project. After this issue will be solved.
good day ..
Upvotes: 0
Reputation: 1183
All you need to do is make sure you have selected the path that you want to save. If you haven't select the path you want to create, you can see the resulting filename is showing Invalid path.
So after you select the path you want to create then you set your project title. After that, the invalid path message will disapper.
Upvotes: 10
Reputation: 1
When you are creating new project just make sure you select the folder you want to save your project to.
Upvotes: 0