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?
FC v5.4 Compile error
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: FC v5.4 Compile error
Hello Sefi,
I have found the cause of the problem and should be able to fix it fairly quickly.
For now you can revert back to the v5.2 component code by copying the attached file into your "Flowcode/v5/Components" directory before starting Flowcode.
Let me know how you get on.
I have found the cause of the problem and should be able to fix it fairly quickly.
For now you can revert back to the v5.2 component code by copying the attached file into your "Flowcode/v5/Components" directory before starting Flowcode.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
Re: FC v5.4 Compile error
Hi Ben!
I suppose this is a bug in ver. 5.2 Is this fixed in ver.5.4? And what about (please) the interruptproblem look: http://www.matrixmultimedia.com/mmforum ... 46&t=11115
Thank´s in advance
Best regard
Jorgen

I suppose this is a bug in ver. 5.2 Is this fixed in ver.5.4? And what about (please) the interruptproblem look: http://www.matrixmultimedia.com/mmforum ... 46&t=11115

Thank´s in advance
Best regard
Jorgen