I am using sqrt in my .c file and including math.h for this. When compiling it with the -lm flag it still prompts me with "undefined reference to `sqrt'"
How is this supposed to be solved?
I am using sqrt in my .c file and including math.h for this. When compiling it with the -lm flag it still prompts me with "undefined reference to `sqrt'"
How is this supposed to be solved?