Author Topic: Code::Blocks tries to access CD-Drive when compiling  (Read 3232 times)

Offline Yoshi1981

  • Single posting newcomer
  • *
  • Posts: 2
Code::Blocks tries to access CD-Drive when compiling
« on: March 17, 2010, 02:40:59 pm »
Hi.
I have recently started using CB for my programming/compiling and have just yesterday started to spread my work out over two machines.
Today I started working on my second laptop, trying to compile a file, when CB suddenly and repeatedly started complaining that there was no disk inserted in my CD drive.
I received the following error pop-ups, each over a dozen times:
mingw32-g++.exe - no disk
There is no disk in the drive. Please insert a disk into drive D:
and
collect2.exe - no disk
There is no disk in the drive. Please insert a disk into drive D:

The weird bit is, it still compiles the file without any trouble, it demands a disk inserted in my CD drive though.
CB's compiler builds the file alright too.
Can somebody help me with this?
The thing is, I got CB installed on C: on a single drive machine, why does it want to access the CD drive in the first place?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code::Blocks tries to access CD-Drive when compiling
« Reply #1 on: March 17, 2010, 03:00:23 pm »
Please follow the forum rules and state the versions of the software you're using and is related to C::B!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Yoshi1981

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code::Blocks tries to access CD-Drive when compiling
« Reply #2 on: March 17, 2010, 03:24:34 pm »
Opps, sorry. My bad.

I am running C::B version 8.02 on both my machines. But only my laptop has the CD issue. That's why I am extra confused...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Code::Blocks tries to access CD-Drive when compiling
« Reply #3 on: March 17, 2010, 03:27:53 pm »
Upgrade MinGW GCC! Known MinGW Problem.

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