News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

MinGW: No disk in drive

Started by Icekilla, May 18, 2014, 06:50:30 PM

Previous topic - Next topic

Icekilla

When I open Code::Blocks, a pop up message saying "There's no disk in drive. Insert a disk in drive i:. As the title, I can see mingw32-gcc.exe, which is the MinGW compiler for C.

Problem is, lots of these small windows pop up and I have to close them all.

These are the settings I'm using for the compiler



Note that I made a standalone install of MinGW because I also use it on NetBeans, which BTW, is working fine.

I need both IDE's working, tho. Also, in CLI, when I input gcc.exe -v I get the same error, ironically.



I have the latest MinGW version installed. Any ideas on how to fix this?

System specs: Windows 8.1 Pro x64, all updates installed. Made a clean install last night.

Icekilla


Alpha

I believe the current TDM build of MinGW is patched to fix that.

If that does not work, check if your monitor is able to have its extra ports disabled (e.g. unplug the usb connecting your monitor to your computer, if you have one).

Icekilla

My monitors don't have USB ports.

I'll try the TDM thing. Hang on.

Icekilla

Do I need to uninstall MinGW before installing TDM?

Icekilla

Ok, TDM seems to be working fine on Code::Blocks, but on NetBeans it says there's a make command missing on the TDM files.

What do I do? :(

Jenna

Quote from: Icekilla on May 18, 2014, 07:24:47 PM
Ok, TDM seems to be working fine on Code::Blocks, but on NetBeans it says there's a make command missing on the TDM files.

What do I do? :(
Look if the make.exe exists (I guess not) and if not copy mingw32-make.exe to make.exe in the bin-folder.

Icekilla

#7
NetBeans says that it won't take the MinGW make executable file, that it HAS to use the one in MSYS.

Can I just use MinGW for NetBeans and TDM for CodeBlocks? Like, using these settings for NetBeans



Also, when using TDM on CodeBlocks, the debugger is still showing the same "No disk" error even though I specified the settings.


stahta01

Quote from: jens on May 18, 2014, 07:34:40 PM
Quote from: Icekilla on May 18, 2014, 07:24:47 PM
Ok, TDM seems to be working fine on Code::Blocks, but on NetBeans it says there's a make command missing on the TDM files.

What do I do? :(
Look if the make.exe exists (I guess not) and if not copy mingw32-make.exe to make.exe in the bin-folder.

IIRC, NetBeans needs Cygwin or MSys version of make.exe; it will NOT like MinGW make.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

thomas

Quote from: stahta01 on May 18, 2014, 07:40:35 PMIIRC, NetBeans needs Cygwin or MSys version of make.exe; it will NOT like MinGW make.
GNU buildtools are such a bad joke. How come so many people still use this  >:(

This is almost like MPFR which will build only using make 3.8 but not make 4.0 -- of course make 3.8 has broken parallel builds, so if you try to build GCC 4.9 you either need a lot of time or you need 2 versions of make installed...

(that is what I spent last weekend on, btw... on a positive note, it's perfectly possible to build GCC without winpthreads, it didn't complain something was missing)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

stahta01

Quote from: Icekilla on May 18, 2014, 07:40:14 PM
NetBeans says that it won't take the MinGW make executable file, that it HAS to use the one in MSYS.

Can I just use MinGW for NetBeans and TDM for CodeBlocks? Like, using these settings for NetBeans


Also, when using TDM on CodeBlocks, the debugger is still showing the same "No disk" error even though I specified the settings.


Yes, you can have two versions of MinGW GCC installed.
But, neither one can be in a special location.
The locations I think are special are
x:\MinGW
x:\MinGW32

Where "x" is any drive letter.

You still need to configure the debugger tool chain location to use the good compiler.

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]