Undefined reference to functions in math.h etc
Posted: Wed Jan 05, 2022 11:30 am
Hello. I have an AI-Deck and a Crazyflie 2.1 and I am using the GAP SDK from the docker image. Flashing to the board and running simple code and the examples run fine, following the instructions from the documentation. Now, I want to run some algorithm I had running on my computer, which includes math.h (more specifically, it uses sqrt() and log()), and then I am getting this "undefined reference to <function>" error when compiling.
What should I do to get those to work?
What should I do to get those to work?