Hello I want to use pthreads in Visual C++, VS2012. I downloaded the release file but I don’t know how to include and load it for VS2012, as it gives such error IntelliSense: cannot open source file "pthread.h"
Hello I want to use pthreads in Visual C++, VS2012. I downloaded the release
Share
Right click on project -> properties -> C/C++ -> General -> Additional include directories.
Add the directory there.
For the libraries, go to Linker -> General and add the directory with the libs, then go to Linker -> Input and add the libraries themselves.
Also, note that IntelliSense isn’t a compiler, so that might even be a false positive error.