Library conflict wire.h and mozzi

Hi everyone,

I’m testing mozzi library to create sound with arduino, and i’m trying to use an MPU6050 to control parameters of the sounds.

I think there’s some kind of conflict between the libraries.

when i add #include <Wire.h> i got this compilation error

libraries\Wire\utility\twi.c.o: In function __vector_24':* *C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src\utility/twi.c:384: multiple definition of __vector_24’
libraries\Mozzi-master\twi_nonblock.cpp.o:C:\Program Files (x86)\Arduino\libraries\Mozzi-master/twi_nonblock.cpp:456: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.

Is there any way to avoid this.
I accept suggestions on reading raw data without wire (I know it is the best way, but in this case, maybe I’ve no option left).

Is there any way to avoid this.

Use a library that calls functions in the Wire library, not one that copies the functions out of the Wire library.


I am having the same problem but no idea how use a library that calls functions in Wire library. How did you resolve this?

Many thanks