I try to install wirelatency in my PC with windows OS. When I try to run go install protocol-observer.go
I get the following error:
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:189:7: identifier "_Ctype_struct_bpf_program" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:445:13: identifier "_Ctype_struct_pcap_stat" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:490:49: identifier "_Ctype_struct_bpf_program" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:513:10: identifier "_Ctype_struct_bpf_program" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:546:41: identifier "_Ctype_struct_bpf_insn" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:618:66: identifier "_Ctype_struct_bpf_program" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:631:19: identifier "_Ctype_struct_bpf_insn" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:741:34: identifier "_Ctype_struct_pcap_addr" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:744:56: identifier "_Ctype_struct_pcap_addr" may conflict with identifiers generated by cgo
C:\Users\Administrator\go\pkg\mod\github.com\google\gopacket@v1.1.14\pcap\pcap.go:22:10: fatal error: pcap.h: No such file or directory
#include <pcap.h>
^~~~~~~~
compilation terminated.
How can I install it? For more information most of google services are blocked in my location.