Error verifying a sketch in Arduino IDE

Hi, I am trying to write a code where I will use PING))) sensor for obstacle detection and avoidance, and also use IR sensors as beacons for my mobile robot. But when I try verifying the code written it gives me this error:

Arduino: 1.6.9 (Windows 8.), Board: "Arduino/Genuino Uno"

libraries\IRremote\IRremote.cpp.o: In function `__vector_7':

C:\Users\USER PC\Documents\Arduino\libraries\IRremote/IRremote.cpp:124: multiple definition of `__vector_7'

libraries\NewPing\NewPing.cpp.o:C:\Users\USER PC\Documents\Arduino\libraries\NewPing/NewPing.cpp:334: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

What could possibly be the problem?

Looks like NewPing and IRremote both use the same timer and thus both want control of the same timer interrupt. You can't use them both in the same sketch.

Ok Sir, I actually got an idea from a guy called Teckel and he said on his webpage that one can easily change the TIMER_ENABLED from true to false in the NewPing.cpp file in the NewPing library, that is if one isn't using the ping_timer() method. I did that and the '__VECTOR__7' error was gone...

FYI: You can also change the Timer used by IRremote, in the file IRremoteInt.h