unidentified reference to 'sqrt' why is this so ?

  • From: "soldatov" < >
  • To:
  • Subject: unidentified reference to 'sqrt' why is this so ?
  • Date: Wed, 02 Jan 2013 04:32:05 -0500


Paul Floyd wrote:
> wolfram wrote:
> My guess is that this is a link editor error, and that you are not 
> linking with the maths library, libm.so (-lm on the command line, not 
> sure how to set it in NeBeans as I always use external Makefiles).
> 
> A+
> Paul

call Project Properties window
select Build|Linker
click on "..." in Libraries field
push 'Add Standard Library...' button
select Mathematics
push OK, push OK, push OK






unidentified reference to 'sqrt' why is this so ?

wolfram 01/01/2013

Re: unidentified reference to 'sqrt' why is this so ?

paulf 01/02/2013

<Possible follow-up(s)>

unidentified reference to 'sqrt' why is this so ?

soldatov 01/02/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close