Im using a miac for a project, the programme runs fine in simulation and compiles to C but, when trying to compile to HEX, I get the failure notice included below. Please help

Pure Engine Control ECU.c
Starting preprocessor: C:\PROGRA~1\Flowcode\v5\Tools\boostc\pp.exe "Pure Engine Control ECU.c" -i C:\PROGRA~1\Flowcode\v5\Tools\boostc\include -d _PIC16LF1937 -la -c2 -o "Pure Engine Control ECU.pp" -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX
....
Pure Engine Control ECU.c(1036:2): error: unknown identifier 'adcon2'
Pure Engine Control ECU.c(1036:2): error: invalid operand 'adcon2'
Pure Engine Control ECU.c(1036:9): error: failed to generate expression
Pure Engine Control ECU.c success
failure
....Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors: