ISR(TWI_vect) error compiling

Simply trying to have the TWI interface cause interrupts, but my compiles is not too happy about me using ISR(TWI_vect). My knowledge is far too limited to understand why that is :frowning:

Error message:

Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Uno"

libraries\Wire\utility\twi.c.o (symbol from plugin): In function `twi_readFrom':

(.text+0x0): multiple definition of `__vector_24'

sketch\test5.ino.cpp.o (symbol from plugin):(.text+0x0): 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.

Ah, I had the wire.h library included, that's why it didn't compile :slight_smile: