Arduino and Heart Rate (I2C Problem)

The library you're using is written for AVR chips only. You cannot use it for ARM based MCUs.

How do I fix this problem?

Use Sparkfun's library instead.