Author Topic: "No Disk" error message, code::blocks vista  (Read 15750 times)

alexus01

  • Guest
"No Disk" error message, code::blocks vista
« on: September 03, 2009, 01:07:31 am »
I have a VIO running vista. Code::Blocks would not compile and shows the message "No disk", which does not go away unless I used the Task Manager and end the MinGW.
I've been looking for a solution and I found something that worked pretty well. For some reason, the message stoped popping up when I disabeled the Memory Stick and SD card readers (using the Device manager). Someone from Mexico suggested on this site to disable the Memory Stick only, I had to disable both. Make sure you only disable, DO NOT UNINSTALL.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: "No Disk" error message, code::blocks vista
« Reply #1 on: September 03, 2009, 01:18:27 am »
Please don't use a poll to start a topic next time !

This is most likely a known (packaging) error.

See here : http://forums.codeblocks.org/index.php/topic,10936.msg74774.html#msg74774

The correct solution is to use a more recent gcc version (without the packaging error), everything else is a hack to hide the symptons, but does not resolve the underlying issue.

Offline fauxy

  • Single posting newcomer
  • *
  • Posts: 7
Re: "No Disk" error message, code::blocks vista
« Reply #2 on: September 10, 2009, 01:33:41 pm »
I'm running windows xp 64 bit sp 2 and am still getting this "Windows - No Disk      Exepction Processing Message...."  after updating MinGW to the latest version.

I'm new to c++ and am trying to get a IDE with debuging that works, dev-C++, codeblocks, visual studio, none of their debugs work.

Bare with me and help me please  :cry:

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: "No Disk" error message, code::blocks vista
« Reply #3 on: September 10, 2009, 01:37:18 pm »
I'm running windows xp 64 bit sp 2 and am still getting this "Windows - No Disk      Exepction Processing Message...."  after updating MinGW to the latest version.
What is the "latest version" for you? Please provide exact version information, e.g. by typing "g++ --version" in a command prompt.
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 fauxy

  • Single posting newcomer
  • *
  • Posts: 7
Re: "No Disk" error message, code::blocks vista
« Reply #4 on: September 10, 2009, 01:42:31 pm »
What is the "latest version" for you? Please provide exact version information, e.g. by typing "g++ --version" in a command prompt.

typing g++ --version in a command prompt returns 'g++' is not recognized as an internal or external command, operable program or batch file.

sorry if im doing something wrong, im not familiar with dos commands

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: "No Disk" error message, code::blocks vista
« Reply #5 on: September 10, 2009, 01:53:33 pm »
'g++' is not recognized as an internal or external command, operable program or batch file.
Ok - to be more precise:
Go to the compiler installation directory, then into the "bin" sub-directory and try again.

Notice: The compiler executable I am referring to is at:
[YOUR_MINGW_INSTALL_FOLDER]\bin\g++.exe
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: "No Disk" error message, code::blocks vista
« Reply #6 on: September 10, 2009, 01:57:42 pm »
'g++' is not recognized as an internal or external command, operable program or batch file.
Ok - to be more precise:
Go to the compiler installation directory, then into the "bin" sub-directory and try again.

Notice: The compiler executable I am referring to is at:
[YOUR_MINGW_INSTALL_FOLDER]\bin\g++.exe
If there are several MinGW-installations, use the one the toolchain executables tab in compiler settings points to.

Offline fauxy

  • Single posting newcomer
  • *
  • Posts: 7
Re: "No Disk" error message, code::blocks vista
« Reply #7 on: September 10, 2009, 01:59:18 pm »
gcc <GCC> 3.4.5 <mingw-vista special r3>

Offline fauxy

  • Single posting newcomer
  • *
  • Posts: 7
Re: "No Disk" error message, code::blocks vista
« Reply #8 on: September 10, 2009, 02:00:34 pm »
'g++' is not recognized as an internal or external command, operable program or batch file.
Ok - to be more precise:
Go to the compiler installation directory, then into the "bin" sub-directory and try again.

Notice: The compiler executable I am referring to is at:
[YOUR_MINGW_INSTALL_FOLDER]\bin\g++.exe
If there are several MinGW-installations, use the one the toolchain executables tab in compiler settings points to.

hm there my be several installations, let me look for this 'toolchain'

Offline fauxy

  • Single posting newcomer
  • *
  • Posts: 7
Re: "No Disk" error message, code::blocks vista
« Reply #9 on: September 10, 2009, 02:18:53 pm »
Well I think i figured out the problem, it was using the older file provided by dev-C++.
I didn't know what you meant by toolchain, but i uninstalled dev-c++, mingw, and codeblocks and reinstalled mingw and code blocks. Then i went to the toolchain tab, autodetected to c:\mingw, and now when i debug i get this error;

"The debugger executable is not set.
To set it, go to "Settings/Complier and debugger", wtich to the 'Programs' tab,
and select the debugger program."

But there is no "programs" tab.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: "No Disk" error message, code::blocks vista
« Reply #10 on: September 10, 2009, 02:21:28 pm »
But there is no "programs" tab.
Try "toolchain" -> this has been renamed.
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: "No Disk" error message, code::blocks vista
« Reply #11 on: September 10, 2009, 02:27:11 pm »
But there is no "programs" tab.
One more thing: Please read the documentation and search the forums before you start asking very basic questions. That's what the documentation/forums is/are for.
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 fauxy

  • Single posting newcomer
  • *
  • Posts: 7
Re: "No Disk" error message, code::blocks vista
« Reply #12 on: September 10, 2009, 02:30:41 pm »
But there is no "programs" tab.
One more thing: Please read the documentation and search the forums before you start asking very basic questions. That's what the documentation/forums is/are for.
sorry, thank you soooooooo much for helping me out and fast respond times.

I have all of the need files now execpt for gdb.exe, it didnt install with the automated installer and i cant seem to find it on their source forge page.

unless it too was renamed to some like c++.exe
« Last Edit: September 10, 2009, 02:32:59 pm by fauxy »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: "No Disk" error message, code::blocks vista
« Reply #13 on: September 10, 2009, 02:47:29 pm »
I have all of the need files now execpt for gdb.exe,
You'll need to grab that separately. It's never bundled with the MinGW GCC compiler (whichsalso ships in several packages btw...). Check out MinGW.org and their download page... the package you are looking for is named "gdb-6.8-mingw-3.tar.bz2" IIRC...

Consult the MinGW.org page for more information about the different packages and what you'll require...
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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: "No Disk" error message, code::blocks vista
« Reply #14 on: September 10, 2009, 02:58:44 pm »
...guys, I've updated the section in the WiKi:
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#MinGW.2FGCC

Please read.
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