Struggling with FixMath.h

39 views
Skip to first unread message

Miguel O'Hara

unread,
Mar 25, 2025, 4:56:32 PMMar 25
to Mozzi-users
Hello everyone,

First time posting here.
Everytime I try to compile anything related to any Mozzi library, I've got an error message concerning the FixMath.h library.

I installed it but the Arduino IDE doesn't seem to find it when i compile. It tried various location to put the FixMath library but the IDE doesn't seem to care. In the library manager, I can see FixMath as an "added" library but it changes nothing.

I always have that kind of error : "/home/myusername/sketchbook/libraries/Mozzi/internal/../AudioOutput.h:60:21: fatal error: FixMath.h : No file"

I tried many things.
I also tried to change all the occurences of "#include <FixMath.h>" by "#include "/home/mydestinationfoldertoFixMath/FixMath.h" but it changed nothing.

Does anyone here have struggled with that kind of problem ?

Thanks a lot for your help

ps : my native language is not english. I tried my best but there are probably many mistakes. Sorry.

pps : I run the Arduino IDE on a Linux Mint machine



tomco...@live.fr

unread,
Mar 26, 2025, 6:25:17 AMMar 26
to Mozzi-users
Hello there, and welcome,

Hum, this is weird, normally, if you installed Mozzi via the library manager of the Arduino IDE, FixMath should be installed at the same time, in the correct location.
How did you install Mozzi? Via the IDE or by cloning on git or something else?

Both Mozzi and FixMath should be in your "libraries" folder (which can be configured in the IDE actually), for instance on my machine (Debian, but should not matter):
 Arduino/libraries/Mozzi
 Arduino/libraries/FixMath

Another thing, which version of the IDE are you using?

Let us know if that works!

Miguel O'Hara

unread,
Mar 26, 2025, 6:42:27 AMMar 26
to Mozzi-users
Hello !

My version of the IDE is the 2:1.0.5

On my version of the IDE, there's no such thing as a library manager. I had to download zipfile from github and install them using the IDE (sketch->Import Library -> Add Library).

I tried with two different laptop (both of them on Linux Mint).

When I check : the libraries are into the right folders and the IDE seems to consider they are installed.

It's when I try to compile something that the problem occurs.

Have a good day.

tomco...@live.fr

unread,
Mar 26, 2025, 8:24:47 AMMar 26
to Mozzi-users
Alright, that's a very old version, I guess you installed Arduino using the package manager of Mint? In that case, I think you are running in the same issue as here: https://forum.arduino.cc/t/arduino-2-1-05-on-rpi-3b-no-library-manager/914658
I would suggest using Arduino 2.X version (which is unfortunately not distributed as package, but there is an AppImage): https://www.arduino.cc/en/software/

Miguel O'Hara

unread,
Mar 26, 2025, 9:24:47 AMMar 26
to Mozzi-users
Ok, I'll try. Thanks a lot.

Miguel O'Hara

unread,
Mar 26, 2025, 11:32:53 AMMar 26
to Mozzi-users
So I tried the Arduino 2.X and it seems to work.

Thanks a lot.

Have a nice day.

Le mercredi 26 mars 2025 à 13:24:47 UTC+1, tomco...@live.fr a écrit :

Vernon Roberts

unread,
Apr 14, 2025, 11:47:51 PMApr 14
to Mozzi-users
I run Ubuntu Linux and could not access it either.
I had to do a separate library install for FixMath.
Everything worked fine after that.

Reply all
Reply to author
Forward
0 new messages