Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » undefined reference to 'cos'
undefined reference to 'cos' [message #1006734] Fri, 01 February 2013 11:16 Go to next message
Eclipse UserFriend
Hi All,
i'm runing Eclipse on ubuntu 12.10.

when i'm hitting 'build' the next error appears:

" undefined reference to 'cos' "

i googled the problem and the answer everywhere was to add "-lm" to the GCC C Linker command.

i did that, but the problrm is still there.

Please help!

Thanks,
vladi
Re: undefined reference to 'cos' [message #1013008 is a reply to message #1006734] Fri, 22 February 2013 10:50 Go to previous message
Eclipse UserFriend
Show the code where you used 'cos' + show build log or build commands which eclipse prints for you.
Previous Topic:Build tesseract ocr on eclipse in ubuntu 12.04
Next Topic:Set breakpoint in library
Goto Forum:
  


Current Time: Fri Jul 25 18:35:56 EDT 2025

Powered by FUDForum. Page generated in 0.24418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top