How to code for arduino leonardo with MLX90614

Hello,

I'm doing a project that deals with the MLX90614, which is a Infra Red thermometer for non contact temperature measurements. I found a few codes online, but none of them work with the leonardo and give me readings of room temperature 1899 degrees, which is clearly a wrong reading. I was wondering if someone could help me with the code. I'm not very familiar with arduino and would appreciate any help.

Thanks,

Lauren

http://bildr.org/2011/02/mlx90614-arduino/

I get this error. What does that mean? What do I do?

It says PORTC4 was not declared in this scope. Just in case you can't open the picture.

Can anyone help me with this?