FC v5.4 Compile error
Posted: Fri Aug 17, 2012 4:53 pm
Hi,
I have just updated to V5.4 of FC for Pics. A program that uses internal CAN functionality of a Pic 18F46K80 mcu no longer compiles with the following errors:
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(251:2): error: unknown identifier 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(251:2): error: invalid operand 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(251:14): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:2): error: unknown identifier 'CAN_MSG_ID'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:2): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:2): error: invalid operand 'CAN_MSG_ID[0] '
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:16): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:2): error: unknown identifier 'CAN_MSG_ID'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:2): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:2): error: invalid operand 'CAN_MSG_ID[1] '
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:16): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(254:5): error: unknown identifier 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(254:5): error: invalid operand 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(254:17): error: failed to generate expression
Anyone any ideas?
The actual program ran using V5.2, its a very simple test program that sends out a message with an ID of 100 and checks for any responses.
many thanks
Sefi
As an interim measure, as I uninstalled (foolishly) the previous version 5.2 of FC to install V5.4, is there a way of rolling this back to v5.2 until the main issue gets resolved?
I have just updated to V5.4 of FC for Pics. A program that uses internal CAN functionality of a Pic 18F46K80 mcu no longer compiles with the following errors:
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(251:2): error: unknown identifier 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(251:2): error: invalid operand 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(251:14): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:2): error: unknown identifier 'CAN_MSG_ID'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:2): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:2): error: invalid operand 'CAN_MSG_ID[0] '
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(252:16): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:2): error: unknown identifier 'CAN_MSG_ID'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:2): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:2): error: invalid operand 'CAN_MSG_ID[1] '
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(253:16): error: failed to generate expression
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(254:5): error: unknown identifier 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(254:5): error: invalid operand 'CAN_MSG_DLC'
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_CAN.c(254:17): error: failed to generate expression
Anyone any ideas?
The actual program ran using V5.2, its a very simple test program that sends out a message with an ID of 100 and checks for any responses.
many thanks
Sefi
As an interim measure, as I uninstalled (foolishly) the previous version 5.2 of FC to install V5.4, is there a way of rolling this back to v5.2 until the main issue gets resolved?