error when compiling with fc 10

Any bugs you encounter with Flowcode should be discussed here.
aderito
Posts: 22
http://meble-kuchenne.info.pl
Joined: Sun Jan 29, 2023 12:49 pm
Location: portugal
Has thanked: 13 times
Been thanked: 2 times

Re: error when compiling with fc 10

Post by aderito »

I modified the file name a little and also the size of the name, I compiled it but without success.... it still gives the same error....
Attached are all the files produced during compilation.
I hope I can get some help here, I'm desperate.... :mrgreen:
Attachments
6722.rar
(480.21 KiB) Downloaded 214 times

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: error when compiling with fc 10

Post by Steve-Matrix »

We are looking into this. A couple of my colleagues are seeing what you are seeing. But my PC seems to be compiling it ok. The C code being produced by Flowcode is the same on the PCs, so it's not an issue with Flowcode itself.

It could be the exact version of XC8 that is being used (I am using v2.45), but my colleagues have tried with v2.10 and v2.46 and it fails when using those versions. So I think it's not the XC8 version.

We are continuing to investigate.

aderito
Posts: 22
Joined: Sun Jan 29, 2023 12:49 pm
Location: portugal
Has thanked: 13 times
Been thanked: 2 times

Re: error when compiling with fc 10

Post by aderito »

OK thank you.
By the way, how can I see the version of my xc8?
thanks !

aderito
Posts: 22
Joined: Sun Jan 29, 2023 12:49 pm
Location: portugal
Has thanked: 13 times
Been thanked: 2 times

Re: error when compiling with fc 10

Post by aderito »

am I correct?
my version is 2.46?
I have mplab IPE installed but I'm only using the programmer in conjunction with pickit3, however this application comes from some time ago and I'm not sure if at the time xc8 was installed from mplab or from flowcode.. ... :roll:
Attachments
versao xc8.png
versao xc8.png (304.66 KiB) Viewed 5461 times

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: error when compiling with fc 10

Post by Steve-Matrix »

You are using v2.10 (it's on the first line of the .s file that is produced).

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: error when compiling with fc 10

Post by Steve-Matrix »

Another difference between my Flowcode output and yours is I am using separate .c and .h files. You could try this setting (in Global Options) and see if this works for you.
Attachments
Separate_C_and_H.png
Separate_C_and_H.png (8.54 KiB) Viewed 5458 times

aderito
Posts: 22
Joined: Sun Jan 29, 2023 12:49 pm
Location: portugal
Has thanked: 13 times
Been thanked: 2 times

Re: error when compiling with fc 10

Post by aderito »

Unfortunately it looks like I won't be able to do that..... :|
Attachments
opcoes globais.png
opcoes globais.png (319.45 KiB) Viewed 5445 times

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: error when compiling with fc 10

Post by Steve-Matrix »

Ok, no problem. I don't think that would solve it anyway.

I did find a similar issue to yours when I searched the internet on our pre-v9 forums:

https://www.matrixtsl.com/mmforums/view ... 26#p104326

aderito
Posts: 22
Joined: Sun Jan 29, 2023 12:49 pm
Location: portugal
Has thanked: 13 times
Been thanked: 2 times

Re: error when compiling with fc 10

Post by aderito »

It's always the most insignificant things that can turn into a nightmare..... :evil: :evil: :evil:
Following your instructions, I unchecked the "add icons comments to code" box and to my surprise it is already compiling..... :P :P
I hope there are no more surprises in the future and I thank you in advance for all the effort you made. :D :D
Perhaps it will also serve as an example for other people with a similar problem. :idea: :idea:
Attachments
opcoes.png
opcoes.png (21.91 KiB) Viewed 5439 times

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: error when compiling with fc 10

Post by Steve-Matrix »

Great news. Thanks for sharing.

Post Reply