netbee
netbee copied to clipboard
Compilation on Windows 7 using Cygwin
Make fails with error when attempting to compile on Windows 7 using Cygwin.
Reproduction steps: Follow instruction steps under heading "How to compile NetBee" in README. Specifically:
- Clone netbee repository
- Install WinPCap
- Copy all headers and libraries from directory /cygdrive/c/WpdPack/Include/ to directory /usr/include/
- Execute command cmake . (successful)
- Execute make
Encountered the following error on make:
/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lpcap
collect2: error: ld returned 1 exit status
make[2]: *** [nbnetvm/CMakeFiles/nbnetvm.dir/build.make:1444: nbnetvm/cygnbnetvm.dll] Error 1
make[1]: *** [CMakeFiles/Makefile2:154: nbnetvm/CMakeFiles/nbnetvm.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Expected behavior: successful execution of make producing binaries with no errors