c - Cannot find -lpthread? -


I'm new to C programming.

I was trying to use the pthread API to write some concurrent programs.

I downloaded Eclipse IDE for C / C ++ developers, minijwe. I've put all the libraries, header files in the respective location of the minidiww file.

When I tried to make this project, there is always an error "Can not get - lpthread", what happened? I have added "-Pathread" to the GCC compiler.

I have searched a lot in Google but it seems like there is no problem like me.

The answer given by any person should be missing the MinGW pthread library too! Essentially the issue is that Mingad installer script can not download the Lpithread library during installation. Quoted from the link:

Just run and open the Mingadu installation manager, which should be pre-installed with Mingu, select "All packages" on the left panel, and on the right panel, "Mingw32- Pthreads-w32 "package and install them.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -