windows下Code::Blocks建立GNU编译的工程:
1、需要添加如下头文件:
D:\E\programing\levent-libevent\include
D:\E\programing\levent-libevent\gnu\include
C:\Program
Files\Dev-Cpp\MinGW32\include
2、需要添加如下静态库:
ws2_32 kernel32 user32 gdi32 winspool shell32 ole32 oleaut32 uuid comdlg32 advapi32
libevent学习笔记-使用指导,码迷,mamicode.com
原文地址:http://www.cnblogs.com/RobbieQiu/p/3668316.html