Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation on Windows 7 using Cygwin #4

Open
mason-rumuly opened this issue Sep 5, 2018 · 1 comment
Open

Compilation on Windows 7 using Cygwin #4

mason-rumuly opened this issue Sep 5, 2018 · 1 comment

Comments

@mason-rumuly
Copy link

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

@frisso
Copy link
Member

frisso commented Sep 6, 2018

We never tried to compile with Cygwin; we simply used Microsoft visual studio on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants