gepponline

I receive this error when i try to compile (START PLC simulation) my first program

"T:\....\OPENPLC\build\Res0.c: In function 'RES0_init__':
"T:\...\OPENPLC\build\Res0.c:35:3: error: invalid initializer
"gcc" -c "T:\...\OPENPLC\build\Res0.c" -o "T:\...\OPENPLC\build\Res0.o" -O2 "-IE:\Downloads\OpenPLC Editor v1.3 - Windows\OpenPLC Editor\matiec\lib\C" -Wno-unused-function

What could it be due to?

Reply 0 0
thiagoralves
Some error on your code. Hard to tell without seeing your code.
Reply 0 0
Reply