embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

DisplayPort related drivers: problems in standaone C++ projects

Open eddydebaere opened this issue 6 years ago • 0 comments

Hi, When creating a DisplayPort based standalone C++ project on zcu704, I got some compilation/linking errors (Vivado/SDK 2018.2), and solved this by:

  • adding #ifdef __cplusplus extern "C" { #endif [...] #ifdef __cplusplus } #endif

    in files avbuf_v2_2/src/xavbuf_clk.h avbuf_v2_2/src/xavbuf.h dppsu_v1_1/src/xdppsu.h

  • and removed 'const' in XVidC_VideoTimingMode definition (file video_common_v4_4/src/xvidc.h)

wkr Eddy

eddydebaere avatar Sep 11 '18 07:09 eddydebaere