Skip to main content
Visitor II
June 23, 2010
Question

floating point library

  • June 23, 2010
  • 1 reply
  • 1080 views
Posted on June 23, 2010 at 07:25

I have to use floating point functions in my application; sqrt, sin, cos, atan.

I have included <math.h>, so the source files compile.  I am using STVD with the Cosmic toolset.

How do I tell the environment to link the floating point library? If I do nothing, the linker complains about not finding sqrt, sin, cos, atan.

I guess I must use libfs0.sm8.  Please provide step by step instructions on how to get to the dialog where I must type in the name of the library.

Thanks.

Daniel

    This topic has been closed for replies.

    1 reply

    Visitor II
    June 23, 2010
    Posted on June 23, 2010 at 08:30

    I found it.

    Project/Settings/Linker Tab (by clicking <> until the tab is in view, then select it)/Select Standard Libraries.

    Daniel