VS2013 编译libevent 并且使用!

https://blog.csdn.net/lyin_c/article/details/47154511

 

libevent代码地址: https://github.com/libevent/libevent

Party 1 编译32位 lib
打开vs2015 x86命令行

windows 编译libevent 及使用.

 

直接进入代码目录,输入 nmake /f Makefile.nmake

 

windows 编译libevent 及使用.

 

得到三个lib

windows 编译libevent 及使用.

新建VS2015 x86工程,
增加头文件和libevent_core.lib libevent_extras.lib libevent 和 ws2_32.lib
wsock32.lib

 

Party 2 编译64位 lib
做如下修改,然后用VS2015 x64命令行工具 进行nmake /f Makefile.nmake即可。其余与32位相同

windows 编译libevent 及使用.


代码和lib地址:https://github.com/caimagic/libevent
 

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2022-01-13
  • 2021-06-06
  • 2021-07-02
  • 2022-12-23
  • 2021-05-19
猜你喜欢
  • 2021-12-18
  • 2021-06-30
  • 2021-06-29
  • 2022-12-23
相关资源
相似解决方案