Open GoogleCodeExporter opened 8 years ago
Actually, I googled it a bit more and it turns out that I haven't passed the
math C library to the linker when trying to compile. When I added -lm to the
build command the error was resolved. Sorry for the false alarm, it's a GCC
related thing but it really fooled me that when calling the function with a
constant value the linker didn't complain at all.
Original comment by zamfir.y...@gmail.com
on 7 Sep 2014 at 11:53
Original issue reported on code.google.com by
zamfir.y...@gmail.com
on 7 Sep 2014 at 11:44