I am getting the error:
There is no disk in the drive. Please insert a disk into drive \Device\Harddisk1\DR1.

I have already read the answers of previous posts, but none of them fit to my situation.

I am running code blocks from a usb stick. When I start debugging I get the error. not just once, it never goes away and the debugger never starts. (I have to use task manager to close it and make the error stop popping up)

I have had the error elsewhere but I have always been able to click it away so it hasn't been a problem

here are the drives in my computer:

OS C: hard drive not hidden
EXTERNAL X: external hard drive not hidden

DVD-RW D: not hidden
RemovableDisks E: F: G: H: all hidden
my usb stick R: not hidden