9 Replies Latest reply on Jun 13, 2012 4:32 PM by JoMe_264151

    Using Math Functions in PSoC Creator for PSoC5's GCC Compiler

      Hi All,




      There have been many contestants who have faced difficulty while using math functions in PSoC Creator using PSoC5's GCC Compiler even after including the 'math.h' header file.


      Please undertake the following to eliminate the Build error:


      Goto Project > Build Settings > Linker > General > Additional Libraries. Now type m in the Additional Libraries field.


      Now, after the project Builds without any math error.


      Refer to the KB article at the following link: http://www.cypress.com/?id=4&rID=42838