Flowcode 10 using Device PIC18F27K42 generates error on build
Posted: Mon Mar 04, 2024 8:23 pm
Hi, not 100% sure this is a bug but attempting to build a project with a PIC18F27K42 driving the servo controller results in the following errors;-
Code: Select all
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" 18F27K42
C:\Users\ianca\OneDrive\Electronic Projects\Candlelight Simulator>"C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8-cc.exe" -mcpu=18F27K42 "V3_candle.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os
V3_candle.c:1201:17: error: (255) not a member of the struct/union ""
V3_candle.c:1201:20: error: (182) illegal conversion between types
int -> volatile union S162
V3_candle.c:1202:18: error: (255) not a member of the struct/union ""
V3_candle.c:1202:21: error: (182) illegal conversion between types
int -> volatile union S2024
V3_candle.c:2460:21: error: (255) not a member of the struct/union ""
V3_candle.c:2460:42: error: (255) not a member of the struct/union ""
V3_candle.c:2460:43: error: (199) logical type required
NOT volatile union S188
V3_candle.c:2460:43: error: (199) logical type required
NOT volatile union S162
V3_candle.c:2645:17: error: (255) not a member of the struct/union ""
V3_candle.c:2645:20: error: (182) illegal conversion between types
int -> volatile union S188
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1