Cant compile an arduino file

I am using two libraries in my project. One is Ping sensor library for utrasonic sensor, and another irRemote library for remote control. When i program for a single sensor, i.e. remote only or utrasonic sensor only i get no error, but when i include both libraries in my file, i get an error message show on picture, If i include " #include " no error, if i include " #include " no error, if i include both , error below occurs

NewPing\NewPing.cpp.o: In function __vector_7':
C:\Users\light\Documents\Arduino\libraries\NewPing/NewPing.cpp:214: multiple definition of__vector_7' IRremote\IRremote.cpp.o:C:\Users\light\Documents\Arduino\libraries\IRremote/IRremote.cpp:361: first defined here collect2.exe: error: ld returned 1 exit status Error compiling.

Ping sensor library link

IR remote sensor library link

Any possible help would be greatly appreciated

Means both libs use the same interupt - It'll likely be a timer.

You can change the timer used by IRremote, within the library source.

I think it uses timer2 by default & it is obvious how to change it to Timer 1 (Timer0 is used by Arduino)

tammytam: Means both libs use the same interupt - It'll likely be a timer.

Yes, that's true. I made the edit to one file and it compiled successfully. Thanks alot

tammytam: Means both libs use the same interupt - It'll likely be a timer.

Yes, that's true. I made the edit to one file and it compiled successfully. Thanks alot

tammytam: Means both libs use the same interupt - It'll likely be a timer.