thiagoralves/OpenPLC_v2

Get errors on my Pi

dewomser opened this issue · 0 comments

I've tried the patch for Raspberry Pi, but but I cannot see any improvement in cycle time
I use a Raspberry Pi 3
In spite of these errors, my program is compiled and running
can you help ?
Thank you

compiling new program...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c

Program compiled successfully
moving files...
compiling OpenPLC...
Generating object files...
Generating glueVars.cpp
varName: __IX0_2 varType: BOOL
varName: __IX0_3 varType: BOOL
varName: __QX0_0 varType: BOOL
varName: __QX0_1 varType: BOOL
varName: __QX0_2 varType: BOOL
varName: __QX0_3 varType: BOOL
varName: __QX0_4 varType: BOOL
varName: __QX0_5 varType: BOOL
varName: __QX0_6 varType: BOOL
varName: __MD0 varType: DWORD
Compiling main program

main.cpp: In function ‘int main(int, char**)’:
main.cpp:155:19: error: ‘updateBuffersIn’ was not declared in this scope
updateBuffersIn(); //read input image
^
main.cpp:161:20: error: ‘updateBuffersOut’ was not declared in this scope
updateBuffersOut(); //write output image
^
main.cpp:165:29: error: ‘common_ticktime__’ was not declared in this scope
sleep_until(&timer_start, common_ticktime__);
^

compiled without errors