thiagoralves / OpenPLC_v3

OpenPLC Runtime version 3
1.02k stars 421 forks source link

Problems with some hardware on Linux #207

Closed bascetta74 closed 1 year ago

bascetta74 commented 1 year ago

Selecting as hardware "Simulink" there is a compilation issue as the runtime (though it is running on a Linux machine) tries to compile for windows, the same happens selecting "Blank".

In my opinion there is a mistake in OpenPLC_v3/webserver/scripts/change_hardware_layer.sh at lines 17 and 80: echo win > ../scripts/openplc_platform that should instead be echo linux > ../scripts/openplc_platform

thiagoralves commented 1 year ago

That’s why there is an option for Simulink for Linux only. Same applies for Blank.