Page 2 of 2

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 11:36 am
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:

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 1:07 pm
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.

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 1:44 pm
by aderito
OK thank you.
By the way, how can I see the version of my xc8?
thanks !

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 2:03 pm
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:

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 2:05 pm
by Steve-Matrix
You are using v2.10 (it's on the first line of the .s file that is produced).

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 2:28 pm
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.

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 4:26 pm
by aderito
Unfortunately it looks like I won't be able to do that..... :|

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 4:44 pm
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

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 5:25 pm
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:

Re: error when compiling with fc 10

Posted: Tue Jun 11, 2024 5:50 pm
by Steve-Matrix
Great news. Thanks for sharing.