OpenPLC_v2
OpenPLC_v2 copied to clipboard
Enable non-interactive building
These changes make it easier to run build.sh
in a non-interactive environment. They also link libmodbus
statically so we don't need to install it to the system with sudo
. There are more tweaks I'd like to make eventually (including non-interactive building with DNP3), but this should be in a working state for now.
Have you tested this setup with libmodbus linking statically? If that works it might even solve linking issues that I'm facing with some weird Linux distributions. We also need to make sure that it works under Cygwin as well. Thanks!
It seems to work properly on my Debian virtual machine. I haven't run any tests on Cygwin yet, though.
EDIT: I'm getting a cryptic error message when I try to build the MATIEC compiler on Cygwin. Is that typical?