I'm trying to include the math function 'pow' in my code but I get the following error message.
-Undefined reference to 'pow'
I''ve tried to add the -lm parameter to the linker to fix this problem, but it doesn't work. The math.h is added as well.
Anybody knows how to solve this?