plc4x
plc4x copied to clipboard
[Bug]: PLC4Go build requires libpcap
What happened?
In Java we detect if libpcap is installed and if it's not, we skip the pcap related tests. In PLC4Go the build fails, if no libpcap is installed on the system:
[INFO] === Failed
[INFO] === FAIL: spi/transports/pcap TestTransportInstance_Connect/connect_with_file (0.00s)
[INFO] TransportInstance_test.go:163: Connect() error = couldn't load wpcap.dll, wantErr false
[INFO] --- FAIL: TestTransportInstance_Connect/connect_with_file (0.00s)
NOTE: Currently it seems impossible to install WinPCAP on Windows systems with Aarch64 architecture. But I found that we now need to install NPcap, which is available for Windows Aarch64
Version
v0.13.0-SNAPSHOT
Programming Languages
- [ ] plc4j
- [X] plc4go
- [ ] plc4c
- [ ] plc4net
Protocols
- [ ] AB-Ethernet
- [ ] ADS /AMS
- [ ] BACnet/IP
- [ ] CANopen
- [ ] DeltaV
- [ ] DF1
- [ ] EtherNet/IP
- [ ] Firmata
- [ ] KNXnet/IP
- [ ] Modbus
- [ ] OPC-UA
- [ ] S7