Fatal Error C1085
Cannot write filetype file: 'file': message
To fix by checking the following possible causes
Drive is read-only.
Drive is full.
Sharing violation.
If the message says "bad file number", the file may have been closing in the foreground while compiling in the background.