multiple definition : libraries IRremote.h and NewPing.h

Hi,
I want a robot that can be controlled by a tv remote controll. That part already works fine. But now I'd like to have the robot stop, or run backwards, when he is too near to an object. For that a have the supersonic distance sensor HC-SR04.
For both of these, I have a library (for remote+for distance sensor), and they work fine when I use them in a diffirent program.

But when I #include both of these libraries in one program, I get the following error:

IRremote\IRremote.cpp.o: In function __vector_7': D:\Data\Documents\Arduino\libraries\IRremote/IRremote.cpp:311: multiple definition of __vector_7'
NewPing\NewPing.cpp.o:D:\Data\Documents\Arduino\libraries\NewPing/NewPing.cpp:214: first defined here

So I guess something is used twice or so. I really don't know how libraries work, so I really don't understand what's wrong. Can someone help me?

Thanks!
Bram

Even if the same name is used twice, it would be unusual that the scope of the name would cause a conflict. Without reviewing all of code, it's hard to be definite.

One way to solve the problem, is to manually edit the code for one of the libraries ( the h and cpp file ), to change all occurences of the offending name in that library, to something different.

Now I found the answer.
http://forum.arduino.cc/index.php?topic=126251.0