biggates的心得

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  38 随笔 :: 1 文章 :: 20 评论 :: 2 引用

今天遭遇到的奇怪问题,总是提示math.h中的函数找不到。经过排查最终确定了这个原因……修改了makefile之后编译通过了。

Notice that the -lm option which requests the math library must be placed at the end of the command line.

也不知道是哪个版本加进来的新规定……?

posted on 2011-10-14 05:48 biggates 阅读(41) 评论(0) 编辑 收藏