-
Notifications
You must be signed in to change notification settings - Fork 382
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
Missing wpcap.dll #380
Comments
Don't know if this is still relevant for you. But instead also define
Should work. Got the same error and fixed it with that. |
@yeahitsjan Do you mean you were able to fix the missing DLL error by defining WIN32 in the source file? |
I don't use Windows so it's hard for me to reproduce this. This was working fine last I tried it there, but I'm unsure of what version of Windows I used at the time. |
@mfontanini Here are a few issues on Windows 11 I wanted to bring to your attention:
I'm gonna try the pre-built version and update the comment, but letting you know that Libtins seems broken on Windows when building from source. |
I was able to figure it out by reading the NPCAP docs - they do ship wpcap.dll. It'd be great if the libtins website were updated to reflect needing to use NPCAP instead of WPCAP. |
Windows 10, MSVS 2019
I have started up with this code:
and tried to build it x86.
Result was a bunch of LNK2019 errors, at the end of which there was this:
"libtins-master\build\lib\Debug\tins.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'x86'".
Ok, tried to build it x64, result:
"WpdPack\Include\pcap\pcap.h(47,12): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory".
In this file:
OOOOOK. (my code):
Builded again and finally successfully. But when I run it I got this:
I have tried installing Winpcap, that places needed dll in System32 folder, but then there are memory access violation in this code (sniffer.cpp):
Well, am I doing anything wrong?
The text was updated successfully, but these errors were encountered: