UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 52971

14.4 - SDK - ARM Compiler is failing with applications containing sin, cos, tan functions in SDK

Description

The ARM compiler in SDK is failing to compile applications containing cos, sin, or tan functions.

How can I fix this?

Solution

The math "m" option needs to be specified in the Libraries in the C/C++ Build Settings.

See the example below:

math_options.jpg

AR# 52971
Date Created 11/16/2012
Last Updated 09/24/2014
Status Active
Type General Article
Tools
  • EDK - 14.3
  • EDK - 14.4
  • EDK - 14.2