CR
I am using the OpenPLC runtime compiler on a Raspberry Pi 5 to launch a program and it appears to compile the .st program successfully but it won't launch. The dashboard indicates "Program Stopped".  The only compilation error logged is "Generating glueVars...Error opening glue variables file at glueVars.cpp". I understand this is a system generated file with each compilation. I would appreciate any help with this issue.
 
COMPILATION OUTPUT:  
 
Generating C files...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Including Siemens S7 Protocol via snap7
Moving Files...
Compiling for Raspberry Pi
Generating object files...
Generating glueVars...
Error opening glue variables file at glueVars.cpp
Compiling main program...
Compilation finished successfully!
Reply 0 0
thiagoralves
Make sure that you’re running the runtime as root
Reply 0 0
Reply