plc4x icon indicating copy to clipboard operation
plc4x copied to clipboard

[Bug]: Building PLC4C on AARCH64 Linux machines seems to be broken

Open chrisdutz opened this issue 1 year ago • 5 comments

What happened?

When trying to build PLC4C on a VM running Ubuntu Linux on my Aarch64 computer (Inside Parallels) the build fails for some reason that seems to come from CMake itself.

Version

v0.13.0-SNAPSHOT

Programming Languages

  • [ ] plc4j
  • [ ] plc4go
  • [X] plc4c
  • [ ] plc4net

Protocols

  • [ ] AB-Ethernet
  • [ ] ADS /AMS
  • [ ] BACnet/IP
  • [ ] CANopen
  • [ ] DeltaV
  • [ ] DF1
  • [ ] EtherNet/IP
  • [ ] Firmata
  • [ ] KNXnet/IP
  • [ ] Modbus
  • [ ] OPC-UA
  • [ ] S7

chrisdutz avatar May 03 '24 15:05 chrisdutz

Built a workaround, that uses the dependency plugin go fetch an artifact with the classifier windows-arm-64 and locally install it as windows-arm64 ... seems to make the build work.

chrisdutz avatar May 05 '24 16:05 chrisdutz

hmm, this ticket is about linux and you write something about windows?

Edit: probably you mixed it up with https://github.com/apache/plc4x/issues/1583

sruehl avatar May 06 '24 07:05 sruehl

linux builds for me on 5cbd00583b85bfee43d7e8128dcda4ab0c14c228 so IMHO this ticket is good to be closed

sruehl avatar May 06 '24 07:05 sruehl

Well it doesn#t build for me ... so we need to find out what's going on

chrisdutz avatar May 06 '24 08:05 chrisdutz

I built the same workaround (well allmost) to the one in windows ... so I'm downloading the aarch64 binaries from the cmake site and repackaging them as jar.

chrisdutz avatar May 06 '24 08:05 chrisdutz