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

MPLAB or CCS Problem ?

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



Joined: 04 Jan 2006
Posts: 3

View user's profile Send private message

MPLAB or CCS Problem ?
PostPosted: Thu Jan 26, 2006 12:33 pm     Reply with quote

Hello,
I have a problem to grete a project with more than one source file .

For one it work very well but if i want to do a project for example with 2 file i have errors. For do this i create a project (as i do before) and i include the file.c but it doesn't work. If i do a project with with only one file.c with all function in, it's work.

Can you help me please.
RobM



Joined: 29 Apr 2005
Posts: 13
Location: Santa Cruz, CA

View user's profile Send private message

Re: MPLAB or CCS Problem ?
PostPosted: Thu Jan 26, 2006 1:07 pm     Reply with quote

msstaf wrote:
Hello,
I have a problem to grete a project with more than one source file .

For one it work very well but if i want to do a project for example with 2 file i have errors. For do this i create a project (as i do before) and i include the file.c but it doesn't work. If i do a project with with only one file.c with all function in, it's work.

Can you help me please.


I suggest that you only add the main.c file as a "source", and include the other .c files in the main.c

Then I usually add the remaining .c files as "other files". This seems to make them visible to project/find files in project.

I hope that helps!
_________________
Rob
_______
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