error: missing filename after '-o'

I was testing an example code and I am getting an error message ’ error: missing filename after ‘-o’ ’ and code stops compiling. please help me to resolve this error.


OK. I give up.

Which example were you compiling. What version of the IDE are you using ? Are you using Windows,Mac or Unix ? Why didn't you copy/paste the full error message into your post ? Did you read this before posting a programming question

Please enable verbose compiler output in settings, and then answer UKHeliBob's questions. Be sure to include the full text of the error message, as text, not a picture.