windows下用vs2012编译libevent-2.1.8-stable源码~可调试,可看源代码。
step1:下载libevent-2.1.8-stable.tar.gz,解压
step2:创建一个空的win32工程
step3:在新工程里新建include,src两个文件夹
step4
将libevent解压后的文件copy到include,src文件夹,具体如下:
a.include,compat,WIN32-Code内容copy到include里
b.其余.c,.h文件copy到src里