Closed
Description
Hi,
I am trying to use gopacket on windows but I get the following error:
github.com/google/gopacket/pcap
C:\Go-Path\src\github.com\google\gopacket\pcap\pcap.go:22:18: fatal error: pcap.h: No such file or directory
#include <pcap.h>
^
compilation terminated.
I know the issue is that I don't have libpcap installed. I found winpcap as an alternative which can provide the relevant header and source files. I was just confused as to where to place these files in relation to gopacket so that I have a successful compilation?
Thanks!!
Metadata
Metadata
Assignees
Labels
No labels