CNMAT / libo

10 stars 4 forks source link

"undefined symbol: fabs" error on linux #30

Open nameiwillforget opened 2 years ago

nameiwillforget commented 2 years ago

Hello! I built libo.so on linux, and it seems to build alright, but when odot tries to load it, it tells me "Could not register handle for external module: libo: undefined symbol: fabs.". fabs is a c++ command, so it seems to not find some library?

maccallum commented 2 years ago

Hi @nameiwillforget--are you running odot in Pd and getting that error message in the Pd console? What platform are you on?

Try adding -lm to the linux linker flags (line 86 of the Makefile) and see if that fixes it.