Compiler error

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Frco007
Posts: 17
http://meble-kuchenne.info.pl
Joined: Wed Jun 08, 2022 8:37 am
Has thanked: 3 times
Been thanked: 1 time

Flowcode v10 Compiler error

Post by Frco007 »

Hello

After upgrading the libraries, compile to target doesn't work again. Although I tried reloading, reloading the ESP libraries...
Can you check for me where the problem is? I'm attaching the LOG file.

Best regards
Attachments
Compiler Messages.txt
(17.89 KiB) Downloaded 72 times

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

Re: Compiler error

Post by mnfisher »

'FCD_066a1_TCP_IP_W5500__DHCP_Run':
C:/FC_ESP/mtxesp32s_sdkconfig/main/esp-project.c:2384:10: error: 'FCR_RETVAL' is used uninitialized [-Werror=uninitialized]

Looks like a return value isn't set here - which is treated as an error

Frco007
Posts: 17
Joined: Wed Jun 08, 2022 8:37 am
Has thanked: 3 times
Been thanked: 1 time

Re: Compiler error

Post by Frco007 »

Interesting because I didn't change anything in the program - code. Is there any other way to check the entire code?

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Flowcode v10 Re: Compiler error

Post by medelec35 »

Hello.
Many thanks for reporting this issue.
I have fixed the component, so hopefully you will be able to compile ok after following the steps below.
Browse to this location using file explorer , it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\Components
Place the attached component.
If Flowcode is already open, then you will need to reload your project for the new component to work
If you run any component updates, then the component you added will be overwritten, so it will stop working again (unless the component update has been pushed).

Can you please let me know how you get on.
Attachments
TCP_IP_W5500.fcpx
(20.18 KiB) Downloaded 64 times
Martin

Frco007
Posts: 17
Joined: Wed Jun 08, 2022 8:37 am
Has thanked: 3 times
Been thanked: 1 time

Re: Compiler error

Post by Frco007 »

Thank You.
Now it works.

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 701 times

Re: Compiler error

Post by medelec35 »

That's great.
Thank you for letting us know.
Martin

Post Reply