Problems compiling

hello, i am using the arduino ide, and when i compile my code i get the error that appears in the image, does it have a solution? how can i fix it?

Welcome to the forum

Which version of the IDE are you using ?

What code would that be ?

Which Arduino board do you have ?

Are you trying to use a debugger and, if so, what is it ?

thank you

the version I am using is 2.3.2

is making a code to use the ultrasonic sensors.

sorry I forgot to say I am using an esp32

and that last one I don't understand what you mean?

in general, no matter what code I am doing, I always get this error.

Which icon are you clicking to do the upload

image

It should be the middle one of these 3, not the righthand one

Hi @araya3003. The error in your screenshot is caused by is caused by clicking the "Start Debugger" button (looks like a play button with a little bug) on the Arduino IDE toolbar. You must instead click the "Verify" button (looks like a ):

image

Give that a try and then let us know if you still have problems.

I see now that @UKHeliBob gave the answer before I posted. Mine is slightly different so I'll leave it up in case it might still provide something of small value to the conversation.

I thought it was the last one on the right, thank you very much.

thank you very much for your help, I appreciate it very much.

There are tooltips associated with each button
image

If you have a board selected that does not support debugging then that icon is greyed out and the tooltip changes
image

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.