[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] build libevent2 in windows without thread support
yes,i do not need iocp.because my project is cross platform.iocp is diffrient from select,epoll..
i have tried ,but it's not success.
the nmake report follow errors:
nmake /F Makefile.nmake static_libs
evthread_win32.c(300) : error C2079: 'cbs' uses undefined struct 'evthread_lock_callbacks'
evthread_win32.c(301) : error C2065: 'EVTHREAD_LOCK_API_VERSION' : undeclared identifier
evthread_win32.c(302) : error C2065: 'EVTHREAD_LOCKTYPE_RECURSIVE' : undeclared identifier
evthread_win32.c(302) : error C2078: too many initializers
evthread_win32.c(310) : error C2079: 'cond_cbs' uses undefined struct 'evthread_condition_callbacks'
evthread_win32.c(311) : error C2065: 'EVTHREAD_CONDITION_API_VERSION' : undeclared identifier
evthread_win32.c(312) : error C2078: too many initializers
evthread_win32.c(327) : warning C4013: 'evthread_set_lock_callbacks' undefined; assuming extern returning int
evthread_win32.c(328) : warning C4013: 'evthread_set_id_callback' undefined; assuming extern returning int
evthread_win32.c(335) : warning C4013: 'evthread_set_condition_callbacks' undefined; assuming extern returning int
then i edit the Makefile.nmake file,remove the 'evthread_win32.obj'. build finaly success.