XRT
XRT copied to clipboard
Fail to build ERT of XRT 2021.1
When I build XRT 2021.1 including ERT, I get the following error of ERT. What should I do to solve it?
/home/yellowd/Documents/XRT/XRT-2021.1/src/runtime_src/ert/scheduler/scheduler.cpp: In function 'bool ert::cu_stat(ert::size_type)': <command-line>: error: unable to find numeric literal operator 'operator""x' /home/yellowd/Documents/XRT/XRT-2021.1/src/runtime_src/ert/scheduler/scheduler.cpp:919:47: note: in expansion of macro 'ERT_VERSION' 919 | write_reg(slot.slot_addr + (pkt_idx++ << 2),ERT_VERSION); | ^~~~~~~~~~~ <command-line>: note: use '-fext-numeric-literals' to enable more built-in suffixes /home/yellowd/Documents/XRT/XRT-2021.1/src/runtime_src/ert/scheduler/scheduler.cpp:919:47: note: in expansion of macro 'ERT_VERSION' 919 | write_reg(slot.slot_addr + (pkt_idx++ << 2),ERT_VERSION); | ^~~~~~~~~~~ /home/yellowd/Documents/XRT/XRT-2021.1/src/runtime_src/ert/scheduler/scheduler.mk:23: recipe for target '/home/yellowd/Documents/XRT/XRT-2021.1/build/Debug/runtime_src/ert/scheduler/legacy/scheduler.o' failed make[3]: *** [/home/yellowd/Documents/XRT/XRT-2021.1/build/Debug/runtime_src/ert/scheduler/legacy/scheduler.o] Error 1 runtime_src/ert/scheduler/CMakeFiles/scheduler.dir/build.make:76: recipe for target 'runtime_src/ert/scheduler/legacy/sched.bin' failed make[2]: *** [runtime_src/ert/scheduler/legacy/sched.bin] Error 2 CMakeFiles/Makefile2:1771: recipe for target 'runtime_src/ert/scheduler/CMakeFiles/scheduler.dir/all' failed make[1]: *** [runtime_src/ert/scheduler/CMakeFiles/scheduler.dir/all] Error 2