sorry, your complilation cannot be written on this kind of disk
Hi and Welcome!
Indeed, such could happen.
In case you feel uncomfortable about that, you might start with reading the documentation of the CD/DVD writing application you are using.
It sounds as if you have been trying to burn an image file in say cd format (e.g. bin/cue) to dvd. What is the file extension of your image file and what is the type of media onto which you are trying to burn it?