Author Topic: Code::Blocks pops up "Insert a disk into drive D" when compiling  (Read 34861 times)

Offline maxorator

  • Single posting newcomer
  • *
  • Posts: 3
When I press compile, Code::Blocks pops up this:
"mingw32-g++.exe" - "There is no disk in the drive. Please insert a disk into drive D:."

Then I have to press Cancel about 10 times and then it stops asking. I checked all library and include search folders - nothing related to drive D.

Malek

  • Guest
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #1 on: March 23, 2008, 08:59:06 pm »
I have same problem ,first message is same and second is "collect2.exe" - "There is no disk in the drive. Please insert a disk into drive D:." . Have someone solved it ?

underflames

  • Guest
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #2 on: March 24, 2008, 10:45:17 pm »
I have the same problem too.  :?
Is it a bug?
Please, is there someone that can solve this problem?
« Last Edit: March 24, 2008, 11:06:53 pm by underflames »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #3 on: March 24, 2008, 11:47:16 pm »
What OS version are you using?
(XP, ME, 98SE)

What version of MinGW GCC is installed?
(3.4.5, 4.2.1)

What path, including drive, was MinGW GCC installed to?
(C:\MinGW)

Is the files you are compiling on the same Drive?

Is Cygwin GCC installed on your computer?
Note: Having Cygwin in your path can cause MinGW GCC to not work!

I had this happen about 2 years and fixed it by upgrading or re-installing MinGW.

Tim S



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 TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #4 on: March 25, 2008, 12:35:55 am »
Actually, this appears to be a packaging bug in GCC 3.4.5-vista special that appears when mSYS is used to build it rather than Cygwin. I wouldn't be surprised if a fixed version was uploaded in the near future...
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #5 on: March 25, 2008, 08:23:13 am »
Try to google for the error and you get about 1.740.000 hits.

Afaik this is a Windows problem.

If I remember right it can be a problem with removeable medias.

underflames

  • Guest
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #6 on: March 25, 2008, 01:47:12 pm »

For stahta01:

- I'm on Windows XP
- These are the file in the package included in Codeblocks file Ver. 8.02 (from the Readme File)

   gcc-core-3.4.5-20060117-1-vista.tar.gz
   gcc-g++-3.4.5-20060117-1-vista.tar.gz
   mingw-runtime-3.14.tar.gz
   mingw32-make-3.81-2.tar.gz
   mingw-utils-0.3.tar.gz
   w32api-3.11.tar.gz
   binutils-2.18.50-20080109.tar.gz
   gdb-6.7.50.20071127-mingw.tar.bz2


- The path, including drive, where MinGW GCC is installed is

   C:\Programmi\Codeblocks\MinGW

   ("Programmi"="Program files" - I'm using an italian version of XP).

- The project is in the same drive where MinGW is installed on.

- Cygwin is not installed

I don't think this is a Windows problem.
Thanks for reply.



Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #7 on: March 26, 2008, 07:52:09 pm »
"mingw32-g++.exe" - "There is no disk in the drive. Please insert a disk into drive D:."
What happens if you (add MinGW to the PATH) and run it from the command line?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #8 on: March 26, 2008, 08:48:21 pm »
Seriously, folks, this is a packaging bug in GCC 3.4.5-vista special. Just cd to the bin directory and run "strings mingw32-g++.exe > gccstrings.txt", and open gccstrings.txt and you'll see what I mean -- there are references to paths like "d:/JDevel/MinGW", "d:/JDevel/MinGW/lib/gcc/", "d:/JDevel/MinGW/bin/", and "d:/JDevel/MinGW/libexec/gcc/".

As I was the creator of the 3.4.5-vista special package, I'm working on getting this fixed right now.
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #9 on: March 27, 2008, 04:46:06 pm »
Seriously, folks, this is a packaging bug in GCC 3.4.5-vista special.
That's too bad. :-(

I never realised this for all the Vista machines I use(d). Probably because all of them have a second HDD so there *is* a D drive???

Mind reporting back if you have a "good" release?! ;-) Probably we will do a re-packaging for  the Vista guys then, too.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #10 on: March 27, 2008, 05:15:57 pm »
It could be that your config file is set up for mingw set up on a separate drive.  I have that happen a lot, by default my hard drive if F, but whenever I start from scratch (new config file), it defaults to C, so I get compiler errors.  Try looking in your default.config file.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #11 on: March 27, 2008, 08:14:33 pm »
I never realised this for all the Vista machines I use(d). Probably because all of them have a second HDD so there *is* a D drive???
Exactly. My current dev machine has 'C', 'D', 'E' and 'F' drives; and it used to go through 'I' because of partitioning. Note that this is not a Vista-specific issue; it merely appears in the 3.4.5-vista special package because I used mSYS to build it rather than Cygwin.

Quote
Mind reporting back if you have a "good" release?!
Not at all. Still working through issues with building "natively" under Cygwin, but it shouldn't be much longer.
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 TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #12 on: April 02, 2008, 01:16:52 am »
Situation Update:
Aaron W. LaFramboise, the MinGW GCC release manager, has said that he should be able to upload a new version of GCC 3.4.5 by Thursday (2008-04-03). If for some reason this doesn't happen, I will volunteer my build again. Either way, a new Vista-fixed GCC 3.4.5 release should be available shortly.
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 TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #13 on: April 07, 2008, 01:49:11 am »
Resolution:
MinGW GCC 3.4.5-20060117-2 has now been released. It should be identical in every respect to the original 3.4.5 release except that it works on Vista.
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)

charon2112

  • Guest
Re: Code::Blocks pops up "Insert a disk into drive D" when compiling
« Reply #14 on: June 09, 2008, 07:13:09 pm »
Hello, I am having this problem as well.  I am running Windows XP.  I downloaded the latest codeblocks self installer.  and when I try to buld or run anything I get the "no disk in drive" message.  But I'm not running Vista.  can anyone help?

Thanks...