View previous topic :: View next topic |
Author |
Message |
JerryR
Joined: 07 Feb 2008 Posts: 167
|
Duplicate filename on Command Line |
Posted: Mon Nov 21, 2016 10:33 am |
|
|
I just installed 5.064 PCWH and get this error message when attempting to compile my, previous "compilable" project.
Duplicate filename on command line---
Any ideas?
Thanks group! |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Mon Nov 21, 2016 3:14 pm |
|
|
Are you running from the command line or the IDE?.
Obvious suggestion, something has got explicitly included in the project 'settings' that is already included automatically, so two copies are being added when the compiler tries to run. |
|
|
JerryR
Joined: 07 Feb 2008 Posts: 167
|
|
Posted: Mon Nov 21, 2016 4:17 pm |
|
|
IDE (MPLab 8.90). Thanks for your interest! |
|
|
gjs_rsdi
Joined: 06 Feb 2006 Posts: 468 Location: Bali
|
|
Posted: Mon Nov 21, 2016 8:33 pm |
|
|
When you get the:
Quote: | Duplicate filename on command line--- |
Is not telling you at which line?
Best wishes
Joe |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19539
|
|
Posted: Tue Nov 22, 2016 5:57 am |
|
|
It's not complaining about a line in the code. MPLAB calls the command line CCS compiler. It builds a line to call this. For some reason, the code has got the same file built into the line twice...
I'd suggest that somehow the same file has got added twice to one of the MPLAB settings.
Really need to ask on an MPLAB forum. |
|
|
JerryR
Joined: 07 Feb 2008 Posts: 167
|
|
Posted: Tue Nov 22, 2016 6:32 am |
|
|
Thanks for your replies Ttelmah and Joe. This gives me a good enough guide to fix the issue. Best regards. |
|
|
|