how to get a hex file

Hello,

i'm pretty new to converting files from arduino into hex.

what i want to do is convert a arduino program that doesnt fully verify (its supposed to work like this)
to a hex file but i can't seem to be able to do this because it can't verify the file.

is there any way for me to convert the file into hex so that i can program the things that i need to?

txcnvenom:
that doesnt fully verify

Please provide a detailed explanation of what you mean by "verify".

The Arduino IDE uses the term "verify" for the compilation process. So this could be taken to mean that your sketch won't compile.

There is also an optional verification process after uploading a sketch to an Arduino board. In this case, the uploaded data is read back and compared to the original data to make sure it wasn't corrupted during the upload process.

So these are two very different uses of the word "verify" in the Arduino world and the answer to your question will be very different depending on which one you mean.

txcnvenom:
(its supposed to work like this)

Why is it supposed to work like that?