libevet 介绍: http://libevent.org/

1 下载wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz

2 tar xvf  libevent-2.0.21-stable.tar.gz

3 cd  libevent-2.0.21-stable.tar.gz

4 ./configure 默认会编译静态库和 动态库 ,可选择 ( --disable-shared --enable-static )

5 make 

6 make install

 

注意:使用Libevent 静态库的时候,要使用-lrt

 

相关文章:

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