HLS errors

Hi, trying to execute HLS codes is consistently resulting in the following, I tried installing some missed libraries as mentioned but nothing worked, any suggestions?

INFO: [SIM 2] *************** CSIM start ***************
INFO: [SIM 4] CSIM will launch GCC as the compiler.
Compiling …/…/…/…/hls_lab1/.apc/test_divide_core.cpp in debug mode
Compiling …/…/…/…/hls_lab1/.apc/divide_core.cpp in debug mode
Generating csim.exe
/home/abdelghani/Xilinx_Vivado_SDK_Web_2019.1/Vivado/2019.1/tps/lnx64/binutils-2.26/bin/ld: cannot find -lpthread
/home/abdelghani/Xilinx_Vivado_SDK_Web_2019.1/Vivado/2019.1/tps/lnx64/binutils-2.26/bin/ld: cannot find -lm
collect2: error: ld returned 1 exit status
make: *** [Makefile.rules:402: csim.exe] Error 1
ERR: [SIM 100] ‘csim_design’ failed: compilation error(s).
INFO: [SIM 3] *************** CSIM finish ***************

1 Like

Hi @Ghani,

This is not a PYNQ question. You may be better off asking in the Xilinx forums.

Mario