CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Duplicate filename on Command Line

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
JerryR



Joined: 07 Feb 2008
Posts: 164

View user's profile Send private message

Duplicate filename on Command Line
PostPosted: Mon Nov 21, 2016 10:33 am     Reply with quote

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: 19338

View user's profile Send private message

PostPosted: Mon Nov 21, 2016 3:14 pm     Reply with quote

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: 164

View user's profile Send private message

PostPosted: Mon Nov 21, 2016 4:17 pm     Reply with quote

IDE (MPLab 8.90). Thanks for your interest!
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PostPosted: Mon Nov 21, 2016 8:33 pm     Reply with quote

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: 19338

View user's profile Send private message

PostPosted: Tue Nov 22, 2016 5:57 am     Reply with quote

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: 164

View user's profile Send private message

PostPosted: Tue Nov 22, 2016 6:32 am     Reply with quote

Thanks for your replies Ttelmah and Joe. This gives me a good enough guide to fix the issue. Best regards.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group