I am trying to use gopacket on windows 10 x64 without wpcap installed.
I use pcap.FindAllDevs() in my go program and I compile my go binary with go build.
When I run my go binary on window 10 x64 without wpcap installed , it report an error:
couldn't load wpcap.dll
So, How to statically link wpcap.dll into go binary using go build?
I am trying to use gopacket on windows 10 x64 without wpcap installed. I use
pcap.FindAllDevs()
in my go program and I compile my go binary withgo build
. When I run my go binary on window 10 x64 without wpcap installed , it report an error:couldn't load wpcap.dll
So, How to statically linkwpcap.dll
into go binary usinggo build
?