SIPp / sipp

The SIPp testing tool
https://sipp.readthedocs.io
Other
921 stars 384 forks source link

Building in cygwin fails with error : fatal error: pcap.h: No such file or directory #498

Closed babakyakhchali closed 3 years ago

babakyakhchali commented 3 years ago

Hi I'm trying to build sipp on windows 10 with cygwin using this steps: downloaded WinPcap developer package and copied it to C:\cygwin64\lib\WpdPack cloned this repo cmake . -DUSE_SSL=1 -DUSE_PCAP=1 make but I get this error:

$ make [ 0%] Built target version [ 2%] Building CXX object CMakeFiles/sipp.dir/src/actions.cpp.o In file included from /home/babak/sipp/include/actions.hpp:31, from /home/babak/sipp/include/scenario.hpp:34, from /home/babak/sipp/include/sipp.hpp:69, from /home/babak/sipp/src/actions.cpp:24: /home/babak/sipp/include/prepare_pcap.h:20:10: fatal error: pcap.h: No such file or directory 20 | #include | ^~~~ compilation terminated. make[2]: [CMakeFiles/sipp.dir/build.make:83: CMakeFiles/sipp.dir/src/actions.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:152: CMakeFiles/sipp.dir/all] Error 2 make: *** [Makefile:150: all] Error 2

wdoekes commented 3 years ago

I'm sorry. I don't have a cygwin. Maybe it works with newer versions. I'll accept patches.