Using the wire library for I2C problem

I have done several Arduino (and Maple) successful projects, but this is my first attempt to run the I2C and use the wire.
I have built my program skeleton for the Mega, and included the wire.h library.

I keep getting the following errors:
(I get it even with the Arduino example program)

'In file included from PEA_1500_Control.ino:69:0:
C:\Users\User\Documents\Arduino\libraries\Wire/Wire.h:58:13: error: 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)' cannot be overloaded
uint8_t requestFrom(uint8_t, uint8_t);
^
C:\Users\User\Documents\Arduino\libraries\Wire/Wire.h:56:13: error: with 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)'
uint8_t requestFrom(uint8_t, uint8_t);

Attached is the wire.h file I am using.

Is the wire.h I use the correct library, or is there a modified one?

Thanks,

Wire.h (2.47 KB)

cannot be overloaded

It means you are trying to redefine something.

The wire library is built in so there is no need to add it to the libraries folder.

Thanks, problem solved.

As I guessed (but was too lazy to investigate), the problem was with bad wire lib.
I found another copy on my computer (in robots) and copied to my libraries, and the problem is gone now.