After including the math.h library my compiler returns the error: "undefined symbol sqrt. ld fatal: symbol referencing errors." when trying to use the square root function. Any ideas what to do? Thanks in advance.
TKnight
After including the math.h library my compiler returns the error: "undefined symbol sqrt. ld fatal: symbol referencing errors." when trying to use the square root function. Any ideas what to do? Thanks in advance.
TKnight
Turns out the compiler was limited and using a different one solved the problem.
Link with the math library, usually "-lm"