Skip to main content

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!

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: 11
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: Mon Jun 18 12:02:49 GMT 2018

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

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

Back to the top