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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer zxbzsb
Observer
351 Views
Registered: ‎04-20-2019

SDSoC fatal error: 'pthread.h' file not found

I am having trouble using SDSoc. My project can only be successfully compiled through software functions. However, after I specified the hardware function, there was a problem with the compilation.

1.png

The pthread.h file is located in the following directory and I can find it. please help me!

3.png

0 Kudos
1 Reply
Moderator
Moderator
283 Views
Registered: ‎08-20-2018

Re: SDSoC fatal error: 'pthread.h' file not found

Hi @zxbzsb 

did you try below answer, which I posted on your previous post?

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

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos