今天遭遇到的奇怪问题,总是提示math.h中的函数找不到。经过排查最终确定了这个原因……修改了makefile之后编译通过了。
Notice that the -lm option which requests the math library must be placed at the end of the command line.
也不知道是哪个版本加进来的新规定……?
今天遭遇到的奇怪问题,总是提示math.h中的函数找不到。经过排查最终确定了这个原因……修改了makefile之后编译通过了。
也不知道是哪个版本加进来的新规定……?
相关文章: