I wrote a simple project in Vivado SDK in order to test my HW-platform developed in Vivado. My problem is that the SDK doesn't recognise the sin() function. I've included the "math.h" library without any error, the program recognise the library where the sin() function is included (I checked it by my own).
I obtain this error:
C:\PATH...\Debug/../src/helloworld.c: undefined reference to `sin' collect2.exe: error: ld returned 1 exit status
I've read the answer in here and it is too general so it was useless to solve my problem. It's clear there is a problem of library but it's not clear how to solve it specifically in Vivado SDK.
I'm working with: OS: Windows 7
Vivado: 2016.1
Vivado SDK: 2016.1
Any solution???