News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

strange behavior of the IDE

Started by Yves, May 11, 2023, 01:51 PM

Previous topic - Next topic

Yves

Hello all,
I had a perfectly working code and usually when all compile properly I create 2 or 3 backups in case something goes wrong. Now i cant even compile and I get errors which doesn't make any sense. Even the backups which compiled fine few minutes ago give me those errors( see attached). I also tried to move the whole folder to the root drive to avoid long deep bedding which was a common problem in the past. Please suggest what I must do. Thank you,

YvesErrors.JPG   
Yves

RGV250

Hi,
Is it only the one program.
Have you updated the compiler recently.
Do you have any links to INC files etc.
Can you post the code.

Bob

Yves

Hi Bob,
My compiler is up to date since the last update. My code was compiling well this morning and and when I wanted to add few more stuff this afternoon, I just compiled it without have even made any changes just to see and then got these errors. It is not the code itself, I think it is something to do with the compiler or maybe win 10. If I have to re-install Positron do I have to installed all the updates one after the other which will be quite tedious or the updates are cumulative?

Regards,

Yves   
Yves

Pepe


rick.curl

Hi Yves-
Try shortening the path and temporarily remove the periods from the filename.

More than likely not the problem, but it's easy to try.

-Rick

Yves

Quote from: Pepe on May 11, 2023, 03:30 PMare cumulative
Does it means, after the first version of Positron installed you just have to install the latest update and all the previous updates will be there?

Yves
Yves

John Lawton

Quote from: Yves on May 11, 2023, 03:19 PMHi Bob,
My compiler is up to date since the last update. My code was compiling well this morning and and when I wanted to add few more stuff this afternoon, I just compiled it without have even made any changes just to see and then got these errors. It is not the code itself, I think it is something to do with the compiler or maybe win 10.   
Have you tried compiling a backup (previous version) of your source code, there may be a problem that you haven't spotted that is causing the assembler errors?

Yves

Hi John,
I have downloaded a version slightly older version of my code from the cloud and surprise surprise it compiled perfectly though the code was exactly the same as the one which gave me trouble. Maybe the file was corrupted somehow. That really show frequent backup during the code construction is a must.
Many thanks for all your help.

Yves
Yves

RGV250

Hi Yves,
You can use a brilliant program called WinMerge https://winmerge.org/?lang=en to compare the 2 files to see the differences if any.

Bob

top204

Without seeing your code I cannot give a full answer, but make sure you do not have any command lines with a comma hanging off the end of it and not continuing on the next line, because the last few compiler versions have tightened syntax checking.