hi
For some reason, but I'm pretty sure that the problem starts after the last update (Flowcode v10.0.3.31) (I didn't see the problem yesterday) LED_WS82811 component stops the project from compiling. The problem is the same even if no other components are inside the project just an empty project and LED_WS82811 "initialise".
I tried it on several STMs error is the same
error message:
"
Flowcode1.c:158:75: error: 'FCVsz_06621_LED_WS28' undeclared here (not in a function)
MX_GLOBAL MX_UINT8 FCV_06621_LED_WS2811__RGB[FCVsz_06621_LED_WS2811__RGB][FCVsz_06621_LED_WS28[27][3];
^
Flowcode1.c:158:102: error: expected ']' before ';' token
MX_GLOBAL MX_UINT8 FCV_06621_LED_WS2811__RGB[FCVsz_06621_LED_WS2811__RGB][FCVsz_06621_LED_WS28[27][3];
^
Error(s) in build
"
thanks in advance
LED_WS82811 compiler error
-
- Posts: 15
- http://meble-kuchenne.info.pl
- Joined: Sun Dec 13, 2020 9:15 pm
- Has thanked: 1 time
- Been thanked: 5 times
-
- Valued Contributor
- Posts: 1528
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 353 times
- Been thanked: 549 times
Re: LED_WS82811 compiler error
Hi
I tried just initialising the component in FCv.30 and it compiled OK using a PIC.
I updated to FCv.31 opened the file and got errors when compiling too:-
C:\Users\Desktop\New folder\Flowcode_31.h:158:52: error: (192) undefined identifier "FCVsz_06621_LED_WS28"
C:\Users\Desktop\New folder\Flowcode_31.h:158:75: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:75: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (188) constant expression required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (310) "]" expected
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
Regards
I tried just initialising the component in FCv.30 and it compiled OK using a PIC.
I updated to FCv.31 opened the file and got errors when compiling too:-
C:\Users\Desktop\New folder\Flowcode_31.h:158:52: error: (192) undefined identifier "FCVsz_06621_LED_WS28"
C:\Users\Desktop\New folder\Flowcode_31.h:158:75: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:75: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (981) pointer required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (188) constant expression required
C:\Users\Desktop\New folder\Flowcode_31.h:158:78: error: (310) "]" expected
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
Regards
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
-
- Matrix Staff
- Posts: 1926
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: LED_WS82811 compiler error
Hello,
Many thanks for letting us know.
Hopefully fixed for you now via the Help -> Library update window.
Many thanks for letting us know.
Hopefully fixed for you now via the Help -> Library update window.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 1528
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 353 times
- Been thanked: 549 times
-
- Posts: 15
- Joined: Sun Dec 13, 2020 9:15 pm
- Has thanked: 1 time
- Been thanked: 5 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times