embeddedsw
embeddedsw copied to clipboard
DisplayPort related drivers: problems in standaone C++ projects
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