Code::Blocks Forums

User forums => Help => Topic started by: kronos299 on August 01, 2009, 02:18:35 am

Title: Windows No Disk Error
Post by: kronos299 on August 01, 2009, 02:18:35 am
I've been trying to get Code:Blocks to run on my computer however I've hit the epic roadblock of Windows No Disk Error. It appears whenever I open a workspace (not a big deal). More importantly, it appears whenever I try to compile a project. But that isn't all, it won't go away until I close it 50 or so times. I've searched and searched for a solution but I haven't found one as of yet. I've tried going to CodeLite, where the problem still persists. This leads me to believe this a compiler issue.
I'm running XP SP 3. I'm currently running MinGW 5.1.4 but I've tried with 3.4.5 with no luck. Code::Blocks is 8.02. My main harddrive is drive I:\, and I use C:\ as a storage drive while D-H are other assorted drives.
The text of the Error is as follows:
"Windows - No Disk
There is no disk in the drive. Please insert a disk into drive ."
It doesn't ask for a specific drive...
Please could someone help out?
Title: Re: Windows No Disk Error
Post by: stahta01 on August 01, 2009, 02:27:14 am
What version of MinGW GCC are you using?
I suggest using the newest 3.4.5 release or the newer 4.4 release.

The command
Code
gcc.exe -v
Returns below for me.
Code
gcc version 3.4.5 (mingw-vista special r3)

Tim S.
Title: Re: Windows No Disk Error
Post by: kronos299 on August 01, 2009, 02:43:12 am
I did the command and got: "gcc version 3.4.5 (mingw-vista special)"
Ironically enough I got the Windows No Disk Error while doing that. This is weird.
Title: Re: Windows No Disk Error
Post by: TDragon on August 01, 2009, 05:26:58 am
This is a packaging bug in MinGW releases of GCC 3.4.5 prior to the 3rd and final Vista-fixed version. You need to upgrade to this version (mingw-vista special r3, versioned 3.4.5-20060117-3) or later -- as Tim said, the 4.4.0 release would also work.
Title: Re: Windows No Disk Error
Post by: kronos299 on August 01, 2009, 08:50:57 pm
Flawless!!!! Thank you guys. I downloaded the 4.4.0 GCC and replaced the old MinGW with it and then started Code::Blocks and no problems.