AR# 70890

HDMI 1.4/2.0 Transmitter Subsystem v3.1 - Video Common Library v4.3 - Why do I encounter an SDK compilation error if the XVIDC_EDID_VERBOSITY definition is set to 2?

Description

After I generate the HDMI example design and modify the XVIDC_EDID_VERBOSITY of the video common's xvidc_cea861.h to 2 , SDK Compilation fails with the following error:

undefined reference to "sqrt"

How can I fix this problem?

Solution

This is a known issue in the Video Common Library of Vivado 2018.1.

It only occurs in ARM based HDMI applications.

It is caused by the math.h library not being available on the ARM compiler in SDK, as documented in (Xilinx Answer 52971)

  • Vivado 2018.1 - Users can use XVIDC_EDID_VERBOSITY 1 to work around this problem
  • Vivado 2018.2 - This issue will be resolved in Vivado 2018.2 and later versions.

Linked Answer Records

Master Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
52971 14.4 - SDK - ARM Compiler is failing with applications containing sin, cos, tan functions in SDK N/A N/A
AR# 70890
Date 03/05/2020
Status Active
Type General Article
IP