Code::Blocks Forums
User forums => Help => Topic started by: maxorator on March 23, 2008, 06:48:17 pm
-
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.
-
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 ?
-
I have the same problem too. :?
Is it a bug?
Please, is there someone that can solve this problem?
-
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
-
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...
-
Try to google (http://www.google.com/search?q=There+is+no+disk+in+the+drive.+Please+insert+a+disk+into+drive&ie=utf-8&oe=utf-8&aq=t) 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.
-
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.
-
"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?
-
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.
-
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.
-
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.
-
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.
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.
-
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.
-
Resolution:
MinGW GCC 3.4.5-20060117-2 (http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82723&release_id=590259) has now been released. It should be identical in every respect to the original 3.4.5 release except that it works on Vista.
-
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...
-
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...
In stall the new MinGW 3.4.5.
Tim S
-
Thank you! :)
I don't suppose you have a link?
-
im trying to run codeblcoks on a bootcamped mbp. windows xp 3.
i got the same error.
after trial and error
1. download codeblocks with no mingw
codeblocks-8.02-setup.exe
2. d/l the "Automated MinGW Installer" from sourceforge, make sure you add support for g++ when prompted, install.
3. launch codeblocks and follow this instructions to make let it know what compiler you want (first one, gcc)
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps
this instructions are from a noob POV, codeblocks mingw distribution is broken for some ppl, please may it be fixed soon.
-
I don't understand why the C::B+MinGW package have not been fixed.
-
Resolution:
MinGW GCC 3.4.5-20060117-2 (http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82723&release_id=590259) has now been released. It should be identical in every respect to the original 3.4.5 release except that it works on Vista.
I've downloaded this file: (gcc-g++-3.4.5-20060117-2-src.tar) but I don't know what to do with it.
What should I do with this file(s) in order to solve this problem ?
I've CodeBlocks with the "16 May 2009 build (5602)" Nightly build.
-
I've downloaded this file: (gcc-g++-3.4.5-20060117-2-src.tar) but I don't know what to do with it.
What should I do with this file(s) in order to solve this problem ?
I've CodeBlocks with the "16 May 2009 build (5602)" Nightly build.
Nearly all files with -src tend to be souces code files.
I suggest re-stalling all of MinGW GCC.
Or
gcc-core-3.4.5-20060117-3.tar.gz and gcc-g++-3.4.5-20060117-3.tar.gz
Tim S