Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    Issues using the <math.h> library

    Spresense
    2
    3
    906
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jolle last edited by

      Whenever trying to include the math.h library the compiler produces the following error messages:

      /home/user/spresense/nuttx/include/cxx/cmath:39:11: error: '::float_t' has not been declared
      
         39 |   using ::float_t;
      
            |           ^~~~~~~
      

      This error message is repeated for every single data type.

      1 Reply Last reply Reply Quote
      • J
        Jolle last edited by

        The issue isresolved. I had forgot to enable "standard Math Library" under "Library Routines" in the configuration.

        C 1 Reply Last reply Reply Quote
        • C
          CamilaSouza DeveloperWorld @Jolle last edited by

          @Jolle

          Thanks for coming back and sharing your solution!

          1 Reply Last reply Reply Quote
          • First post
            Last post
          Developer World
          Copyright © 2021 Sony Group Corporation. All rights reserved.
          • Contact us
          • Legal