Jump to content
  • 0

Vitis math functions, sin, abs, not seen even though math.h referenced


Xband

Question

Bug of the day, error;

"Description    Resource    Path    Location    Type
undefined reference to `sqrtf'    helloworld.c    /AxiTest/src    line 197    C/C++ Problem"

This comes up for sin, abs, and other math.h functions that should be properly linked as the library is "include"'ed. 

Found a solution posted in 2014 on the AMD site, https://adaptivesupport.amd.com/s/article/52971?language=en_US

But when I open my "C/C++ Build, Settings" my "Tool Settings" looks nothing like the picture, mine is mostly empty.  

I do not know where to apply the "m", there is not "ARM linker" option.  

Does anyone know where I can try to do this? 

Or another fix?

Thanks,

image.png.7f3a859e7151a23f7cd0bfb0bc240701.png

image.thumb.png.85a02bbf1c518c78d2a3232b1e6cbdb8.png

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...