Hi, I've been learning to use SDL and whenever I try to build this one program I get a windows-looking popup that says
"cc1plus.exe - No Disk" or "Id.exe - No Disk" on the top bar, it changes, and below says:
"There is no disk in the drive. Please insert a disk into drive \device\Harddisk2\DR2"
I was at first afraid that it had something to do with my running codeblocks off a flash drive, but all my other SDL projects build and run fine. I don't open any files or anything which would require the program to look for whatever drive that is..
And I just tried commenting out absolutely everything besides "int main (int argc, char** argv ) {return 0;} and it still threw the error. I googled it and some people said there are viruses which pretend to be cc1.exe, but then it doesn't make sense why all my other console-based applications would still work.
If anyone has any thoughts, that'd be nice. If this is a problem with my computer I wont bother you guys for it but it seems more like something wrong with codeblocks..
Thanks for any help
I don't think there is something wrong with the code. The error sounds more like it has problems reading from the device, but you say it work for other projects on the same device? Do you have some unusual characters (spaces?) in the file and project names?
It's got to do with MinGW from CodeBlocks.
Try reinstalling it.
Personally, when I had this problem, I had to format the pc, also because I planned that, despite my laziness to re-install everything from scratch. http://www.cplusplus.com/forum/lounge/116063/
Thanks, it might have been the characters.. though no it didnt have any spaces (it was 'visual_code_to_letters', i thought underscores were ok), and yes I was able to build and run any other program but that particlular one.. I ended up just trying opening a new project with a different name and copied all the code there, and it ran fine. well it builds fine, the program doesn't work yet but thats a different problem:P
So im hoping this doesn't come up again, especially since the error was slightly different from your error EssGeEich.. I'm kinda hoping to not have to format the computer just for this.
But still thanks, if it comes up again I'll try a reinstall/format.