XRT icon indicating copy to clipboard operation
XRT copied to clipboard

Issues linking xcl_vcu_test.exe in gcc 9.3 clock_gettime

Open wilderfield opened this issue 2 years ago • 0 comments

Can we use some standard C++ way of measuring time?

#include <chrono>

[ 97%] Linking CXX executable xcl_vcu_test.exe

/scratch/bryanloz/mambaforge/conda-bld/xilinx-runtime_1655485890460/_build_env/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: CMakeFiles/xcl_vcu_test.exe.dir/src/plugin_dec.cpp.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'
/scratch/bryanloz/mambaforge/conda-bld/xilinx-runtime_1655485890460/_build_env/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /scratch/bryanloz/mambaforge/conda-bld/xilinx-runtime_1655485890460/_build_env/bin/../x86_64-conda-linux-gnu/sysroot/lib64/librt.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

wilderfield avatar Jun 17 '22 17:06 wilderfield