netbee icon indicating copy to clipboard operation
netbee copied to clipboard

Compilation on Windows 7 using Cygwin

Open mason-rumuly opened this issue 5 years ago • 1 comments

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

mason-rumuly avatar Sep 05 '18 19:09 mason-rumuly