Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » undefined reference to 'cos'
undefined reference to 'cos' [message #1006734] Fri, 01 February 2013 16:16 Go to next message
Vladi Feldman is currently offline Vladi FeldmanFriend
Messages: 1
Registered: February 2013
Junior Member
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 15:50 Go to previous message
soman namos is currently offline soman namosFriend
Messages: 6
Registered: December 2012
Junior Member
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: Wed Nov 26 19:06:14 GMT 2014

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

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