My env is Windows8.1 (64bit) and using Visual Studio 2010.
I did put all *.dll files in system32 , SYSWOW64(because I use win8 64bit.)
and link location where *.lib file for x64-system with VC 2010.
of course, I add additional folder lib forders.. , include folders.. etc..
but when I try compile "pthread-used" project, fatal error has occur.
-source
#include<pthread.h>
#include<stdio.h>
int doit_id,trd_id;
pthread_t trd;
void *doit(void *data){
doit_id = (int)data;
return 0;
}
int main(){
trd_id=pthread_create(&trd,NULL,doit,0);
return (0);
}
-error
1.obj : error LNK2019: unresolved external symbol __imp__pthread_create (referenced in function _main)
C:\Users\~program Location~ : fatal error LNK1120: 1 unresolved externals
please,help me