error compiling on pic18f26k22
Moderator: Benj
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
error compiling on pic18f26k22
Hello everyone!
I have a problem trying to compile a project that I have been working for some time.
I get the following message from the compiler:
C: \ PROGRA ~ 2 \ FLOWCO ~ 1 \ pic \ include \ pic18f26k22.h:
8244: extern volatile unsigned char TRISE @ 0xF96;
(985) qualifiers redeclared ^
^ (1098) conflicting declarations for variable "TRISE" (fat gps liksprite 18f26k22 _v7.c: 31)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C: \ Program Files (x86) \ Flowcode v8 \ pic \ batch \ pic_xc8_comp.bat reported error code 1
Autoclose turned off
if someone could help me I would be very grateful
I have a problem trying to compile a project that I have been working for some time.
I get the following message from the compiler:
C: \ PROGRA ~ 2 \ FLOWCO ~ 1 \ pic \ include \ pic18f26k22.h:
8244: extern volatile unsigned char TRISE @ 0xF96;
(985) qualifiers redeclared ^
^ (1098) conflicting declarations for variable "TRISE" (fat gps liksprite 18f26k22 _v7.c: 31)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C: \ Program Files (x86) \ Flowcode v8 \ pic \ batch \ pic_xc8_comp.bat reported error code 1
Autoclose turned off
if someone could help me I would be very grateful
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: error compiling on pic18f26k22
Hmm,
Without following the steps from the above post, After adding an input Flowchart compiles for me ok.
Do you have a test flowchart you can post which causes the errors?
Without following the steps from the above post, After adding an input Flowchart compiles for me ok.
Do you have a test flowchart you can post which causes the errors?
Martin
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
hello medelec35!
I am very grateful for your quick response!
I think maybe it would be better in private for me to send the full file for you to test. As I do not have much experience here I ask you if it is possible?
thank you very much !
I am very grateful for your quick response!
I think maybe it would be better in private for me to send the full file for you to test. As I do not have much experience here I ask you if it is possible?
thank you very much !
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
I did the experiment according to the post you mentioned but it didn't work
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
I tried changing the target to pic18f46k22 and compiling correctly!
then I tried to do
a simple flowchart but with 18f26k22 and again not compiled and gave the same error.
I'm remembering that a couple of days ago when opening the flowcode there was an update but I no longer remember what it was .....
then I tried to do
a simple flowchart but with 18f26k22 and again not compiled and gave the same error.
I'm remembering that a couple of days ago when opening the flowcode there was an update but I no longer remember what it was .....
- Attachments
-
- Flowcode1.fcfx
- (8.74 KiB) Downloaded 158 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: error compiling on pic18f26k22
The flowchart you posted compiles for me ok.
Can you select Help, about flowcode and state what version you have?
This is the latest version: Have you tried updating all?
With your flowchart loaded, select Help, Check for updates.
Change files in use to Full database, then select download.
Can you select Help, about flowcode and state what version you have?
This is the latest version: Have you tried updating all?
With your flowchart loaded, select Help, Check for updates.
Change files in use to Full database, then select download.
Martin
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
hello martin! thanks for answering !
sorry for the delay of the answer I was out and only now I was able to return to the subject.
I am currently downloading the entire database but I noticed that pic18f26k22 is not in this same update ....
I will restart and see if it compiles .....
sorry for the delay of the answer I was out and only now I was able to return to the subject.
I am currently downloading the entire database but I noticed that pic18f26k22 is not in this same update ....
I will restart and see if it compiles .....
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
negative !!
still giving the same mistake .....
C: \ PROGRA ~ 2 \ FLOWCO ~ 1 \ pic \ include \ pic18f26k22.h:
8244: extern volatile unsigned char TRISE @ 0xF96;
(985) qualifiers redeclared ^
^ (1098) conflicting declarations for variable "TRISE" (Flowcode1.c: 31)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C: \ Program Files (x86) \ Flowcode v8 \ pic \ batch \ pic_xc8_comp.bat reported error code 1
Autoclose turned off
FINISHED
still giving the same mistake .....
C: \ PROGRA ~ 2 \ FLOWCO ~ 1 \ pic \ include \ pic18f26k22.h:
8244: extern volatile unsigned char TRISE @ 0xF96;
(985) qualifiers redeclared ^
^ (1098) conflicting declarations for variable "TRISE" (Flowcode1.c: 31)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C: \ Program Files (x86) \ Flowcode v8 \ pic \ batch \ pic_xc8_comp.bat reported error code 1
Autoclose turned off
FINISHED
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
This is the version I am using:
- Attachments
-
- versao flowcode.png
- (269.5 KiB) Downloaded 1171 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: error compiling on pic18f26k22
I would suggest you uninstall current version, download and install latest version.
At least if we run the exact same version, then that's one less variable removed.
Can you also post all the compiler message?
At least if we run the exact same version, then that's one less variable removed.
Can you also post all the compiler message?
Martin
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: error compiling on pic18f26k22
Ah, looks like a recent update with a workaround for the missing TRISE issue has been applied to too many devices.
Some Microchip headers have the definition, others don't
Until we get this fixed roll back the last update to 18F26K22.fcdx
Or drop the attached into …
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\PIC
Some Microchip headers have the definition, others don't
Until we get this fixed roll back the last update to 18F26K22.fcdx
Or drop the attached into …
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\PIC
- Attachments
-
- 18F26K22.fcdx
- (39.24 KiB) Downloaded 124 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: error compiling on pic18f26k22
Did you put the file in ...
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\PIC
The folder is usually hidden
And re-start Flowcode?
C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\PIC
The folder is usually hidden
And re-start Flowcode?
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: error compiling on pic18f26k22
Thanks Leigh,LeighM wrote:Ah, looks like a recent update with a workaround for the missing TRISE issue has been applied to too many devices.
that clears up my confusion.
I had not updated to latest FCD (when I thought I had), prior to testing flowchart.
Martin
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
Hello people !
I want to thank you because I made the steps described above and already compiles ok!
thank you martin, thank you leighm:
I want to thank you because I made the steps described above and already compiles ok!
thank you martin, thank you leighm:
- Attachments
-
- fat gps liksprite 18f26k22 _v7.msg.txt
- (2.29 KiB) Downloaded 99 times
-
- Posts: 14
- Joined: Tue Feb 03, 2015 2:27 pm
- Location: aveiro / portugal
- Has thanked: 4 times
- Been thanked: 2 times
- Contact:
Re: error compiling on pic18f26k22
I noticed when opening the flowcode that there were updates available and one of them was for pic18f26k22.
Whatever matters, it is already working again!
Whatever matters, it is already working again!
Re: error compiling on pic18f26k22
I am having the same issue since updating, i am using a PIC18f25K22
^ (1098) conflicting declarations for variable "TRISE" (test.c:29)
I even tried creating a new project with nothing else than a loop, and it gave me the same issue.
I am using the XC8 PRO compiler.
^ (1098) conflicting declarations for variable "TRISE" (test.c:29)
I even tried creating a new project with nothing else than a loop, and it gave me the same issue.
I am using the XC8 PRO compiler.
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: error compiling on pic18f26k22
Hi,
Until we get this fixed, please roll back to previous version ...
Until we get this fixed, please roll back to previous version ...