编译Wireshark源代码

1、安装Visual Studio 2010(SP1)

2、安装Cygwin(32位)
   http://www.cygwin.com/ 
   安装包
   Archive/unzip
   Devel/bison
   Devel/flex
   Interpreters/perl
   Web/wget
3、安装Python2.7
4、设置路径变量
   c:\Program Files\Microsoft Visual Studio 10.0\VC\bin;c:\cygwin\bin;c:\Python27
5、命令行运行D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat
   进入wireshark源代码目录
   确认环境 nmake -f Makefile.nmake verify_tools
   安装环境 nmake -f Makefile.nmake setup
   编译 nmake -f Makefile.nmake all
   清理 nmake -f Makefile.nmake distclean
6、测试生成文件

   wireshark-gtk2目录


源代码下载地址:
ftp://ftp.wireshark.org/
http://wiresharkdownloads.riverbed.com/wireshark/src/


可以使用Visual Studio , Qt Creator, Source Insight, UltraEdit等工具进行代码的编辑、编译、辅助分析等。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值