AR# 72345


2019.1 SDAccel - needed by not found


When building my host application in SDAccel 2019.1, I get the following errors:

/Vivado/2019.1/tps/lnx64/binutils-2.26/bin/ld: warning:, needed by /opt/xilinx/xrt/lib/, not found (try using -rpath or -rpath-link)
/opt/xilinx/xrt/lib/ undefined reference to `xrt_core::config::detail::get_uint_value(char const*, unsigned int)'
/opt/xilinx/xrt/lib/ undefined reference to `xrt_core::config::detail::get_string_value(char const*, std::string const&)'
/opt/xilinx/xrt/lib/ undefined reference to `xrt_core::message::send(xrt_core::message::severity_level, char const*, char const*)'
/xrt/lib/ undefined reference to `xrt_core::config::detail::get_bool_value(char const*, bool)'
collect2: error: ld returned 1 exit status


XRT has added an indirect dependency on a new shared library,

Host applications linking with must be able to locate this new library during linking.

You can resolve this issue either by sourcing the XRT file, or by adding the following to the xocc linker command line in your makefile:

AR# 72345
日期 05/29/2019
状态 Active
Type 综合文章
People Also Viewed