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
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
-rpath-link=<library path> and retry