Skip to content
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

[Bug]: PLC4Go build requires libpcap #1567

Closed
1 of 16 tasks
chrisdutz opened this issue Apr 26, 2024 · 0 comments
Closed
1 of 16 tasks

[Bug]: PLC4Go build requires libpcap #1567

chrisdutz opened this issue Apr 26, 2024 · 0 comments
Assignees
Labels
bug go Pull requests that update Go code

Comments

@chrisdutz
Copy link
Contributor

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
  • plc4go
  • plc4c
  • plc4net

Protocols

  • AB-Ethernet
  • ADS /AMS
  • BACnet/IP
  • CANopen
  • DeltaV
  • DF1
  • EtherNet/IP
  • Firmata
  • KNXnet/IP
  • Modbus
  • OPC-UA
  • S7
@chrisdutz chrisdutz added the bug label Apr 26, 2024
@chrisdutz chrisdutz assigned chrisdutz and sruehl and unassigned chrisdutz Apr 26, 2024
@ottlukas ottlukas added the go Pull requests that update Go code label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug go Pull requests that update Go code
Projects
None yet
Development

No branches or pull requests

3 participants