0

I have been trying to solve an issue I'm having, when I try to compile my resize program, but I get the same error again and again and I can't really understand what's going on. In the screenshot you can see the output of make, when I type in make resize.

http://prntscr.com/b1cnvs

Thanks a lot.

Edit:

Here is my code.

http://pastebin.com/w3zhiXJi

1 Answer 1

0

The problem is that you are using variables that don't exist. Specifically, the names are close to what they should be, but they aren't exactly right.

In this case, the compiler isn't being very helpful at all. Instead of saying that they don't exist, the compiler is choking on them. It seems that the error only occurs when the invalid names are used in the abs() calls. At least the compiler is telling you which line(s) fail.

It also looks like you've discovered a compiler bug. I'll leave it to you to report it, instructions are in the compiler output. Have fun!

I'll also leave it to you to track down each specific problem in your code. It shouldn't be too difficult, now that you know what the general issue is.

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

1
  • That's right. I found the mistakes and the problem was fixed, when I corrected the names, I used. I will report the bug, as instructed. Thank you very much. Commented May 8, 2016 at 8:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .