I am running pthread on MSVC 2010, and I have pthreadVC2.lib and .dll. from the site http://sourceware.org/pthreads-win32/ http://web.cs.du.edu/~sturtevant/pthread.html but I get this error can anyone enlighten me on this
Fun_os.obj : error LNK2019: unresolved external symbol _pthread_key_create referenced in function _FUN_InThreads Fun_os.obj : error LNK2019: unresolved external symbol _pthread_create referenced in function __FUN_ThreadCr Fun_os.obj : error LNK2019: unresolved external symbol _pthread_attr_init referenced in function __FUN_ThreadCr Fun_os.obj : error LNK2019: unresolved external symbol _pthread_setspecific referenced in function __FUN_sThreadEtry Fun_os.obj : error LNK2019: unresolved external symbol _pthread_join referenced in function __FUN_ThreadJoin
For me it is working properly. so you may need to double-check the project property and provide the setup in which you performed (release / debug) and in the same mode in which you build the project.