I am using IRremote and Newping. Tim provided a solution by commenting out some code in NewPing.cpp . However the code sample provided is now out of date.
so I do not know what to comment out
My error is as follows
libraries/IRremote/IRremote.cpp.o (symbol from plugin): In function MATCH(int, int)': (.text+0x0): multiple definition of __vector_7'
libraries/NewPing/NewPing.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.