View Single Post
  #2   Spotlight this post!  
Unread 12-01-2008, 11:29
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: MPLAB workspace (HELP!)

Quote:
Originally Posted by Sean Marks View Post
I recently updated to MPLAB v8.00, and the C18 v3.10 compiler. I downloaded the 2007 default code.

Now my problem is that when I started up MPLAB, the default untitled workspace came up. I created a new workspace for my project, gave it a title, and a location to save it.

I then copied and added all the files in the default code folder to my project. Most of it worked fine, but the .c files were not added into the source section. The header files were properly added, but not the source(.c) They were instead placed in the "other files" section.

When I compile it says "NO SOURCE FILES: BUILD FAILED!" or something like that. Why is it doing this and how can I put the source files back into the source section?

EDIT: I have a new problem. I managed to add the .c files to the source section by changing the filter for the source section from *.asm to *.c. But now when i try to compile it. it says

"Clean: Deleting intermediary and output files.
Clean: Done.
Skipping file. There is no tool to process the file with the given suffix.
Halting build on first failure as requested.
BUILD FAILED: Sat Jan 12 11:14:15 2008"

Now I'm just confused. I never had these problems last year, so I'm just lost.
Hmmm... Too weird. Perhaps MPLAB doesn't know you have a c compiler installed and doesn't know what to do with a file with a .c extension? Try right-clicking on the source file icon and manually add the files.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org