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
Re: MPLAB or CCS Problem ?
Posted: Thu Jan 26, 2006 1:07 pm
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.
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