10 2012 档案

摘要:转自:http://blog.csdn.net/llqkk/article/details/2447029今天在编译程序时碰到该问题:whetstone.c:(.text+0x56c): undefined reference to `sin'whetstone.c:(.text+0x585): undefined reference to `cos'whetstone.c:(.text+0x5cf): undefined reference to `atan'检查头文件math.h已经包含,原来虽然程序中已经包含math.h,但在链接时要链接到数学库,加上-lm编译选 阅读全文
posted @ 2012-10-28 23:21 木lin木 阅读(7372) 评论(0) 推荐(0) 编辑