This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

undefined reference to `atan2'

Former Member
Former Member

Hi Friends ,

I need to fix this problem and I've read something about gcc but I didnt understand how can I do it.

[cc] C:\Users\Emrah\Desktop\imu_STM32F407\imu\Src/main.c:39: undefined reference to `atan2'
[cc] collect2.exe: error: ld returned 1 exit status

Thanks