Author Topic: Windows No Disk Error  (Read 8834 times)

Offline kronos299

  • Single posting newcomer
  • *
  • Posts: 3
Windows No Disk Error
« 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?
« Last Edit: August 01, 2009, 02:22:46 am by kronos299 »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: Windows No Disk Error
« Reply #1 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.
« Last Edit: August 01, 2009, 02:29:40 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline kronos299

  • Single posting newcomer
  • *
  • Posts: 3
Re: Windows No Disk Error
« Reply #2 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.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Windows No Disk Error
« Reply #3 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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline kronos299

  • Single posting newcomer
  • *
  • Posts: 3
Re: Windows No Disk Error
« Reply #4 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.