Hi! I'm a college student in electrical engineering working on a synthesizer project for the music department. It's all being written in Pd, but I wanted to experiment with compiling through Heavy. After searching a bit, I found this post and learned what steps I needed to take. Just generating C++ through Heavy seems to work, but when actually building the project on the Bela, linking fails with this error:
Linking...
/usr/bin/ld: ./lib/libNE10.a(NE10_fft.c.o): relocation R_ARM_THM_MOVW_ABS_NC against `ne10_fft_generate_twiddles_line_float32' can not be used when making a shared object; recompile with -fPIC
./lib/libNE10.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:457: recipe for target '/root/Bela/projects/v0.2.0_heavy/v0.2.0_heavy' failed
make: *** [/root/Bela/projects/v0.2.0_heavy/v0.2.0_heavy] Error 1
make: Leaving directory '/root/Bela'
I really don't deeply understand the Bela or building software in general, so I figure I'd better ask someone who does before I bang my head against the wall needlessly. Can someone explain what's going wrong? Apologies in advance if I'm a bit slow, I've only taken one CS course so far. Thanks!