UPGRADE YOUR BROWSER
We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!
06-05-2019 02:55 AM
I encountered a problem when using SDSoc. My project can compile successfully with only software functions. However, after I specified the hardware function, there was a problem with the compilation.
The pthread.h file is in the following directory and I can find it. Please help me!
06-05-2019 03:05 AM
I expect that it's because HLS doesn't support the standard C headers - anything that you're moving to hardware will have to be stripped of anything that relies on system calls.
06-05-2019 03:15 AM
06-20-2019 12:13 AM
Hi @zxbzsb
You need to do dynamic linking of the pthread library. Navigate to C/C++ build settings->C/C++ Build-> Settings->SDS++ Linker->Miscellaneous->Linker Flags
add,
-rpath-link=<library path> and retry