I am trying to include the posix library in my Visual Studio 2005 projects, and I am unsure how to include it. I have the posix.lib file and I added it to the additional dependencies of Configuration Properties->Linker->Input. When I build, I get the message that it can't find the pthread.h file. Does anyone know how I can add the lib to my project? Thanks!

Recommended Answers

All 3 Replies

where did you get that library ? The author of the lib should have provided you with the needed non-standard header files.

I got the lib from sourceware.org and they did have the include files. After using them I was able to build my project. Thanks!!

where did you find it on that page? i can't find the posix lib for windows.

thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.