979 need programing help bad

every time i go to build a file i get some error or another. I have tryed it on two computers if i post the file will anybody try it on their mplab. PLEASE HELP 5 Days till the buckeye regiojnal and still no programing :ahh:

Sory will not upload give me your e-mail address and i will send it to you if you are interested in helping us

[email protected]

can you cut and paste the error message from the screen onto here?

There are like 500 error messages and i have not modified the code at all it is all the default code

can you post the first 10 or so?

if the compiler cant find a file it might flag all your variables as undefined

do you want to edit the default code?

have you been able to compile it before?

i have yet to be able to compile it. WE have been using the default.hex from innovation firsts website but i want ot modify it. Even when i try to compile it it tells me that it cannot find fles such as adc.h and string.h and so on. I know their there. I have checked over and over

oh -0k

did you follow the 27 step (seemed like it) installation instructions for MPLAB from the innovationfirst web site?

the directions that came with the CD hose it up and it wont work - there is a page long proceedure for correctly installing it on your PC - you might try that - or search the forum here on MPLAB install

you are not the first team to have this trouble.

Oh, you should have said so sooner. Goto Project>Set Lnguage Tool Locations… and expand Microchip C18 Toolsuite, Default Search Paths & Directories. Set Include and Library Search Paths correctly

And the code consists more than the workspace. You have to include every file in that diirectory. or at least .c;.h;.lib;.mcp;*.lkr

when you open MPLAB look over the project window. Under the “header files” title see if your files are there. If no then right click on the header title and select “add files” then search for the files that it can’t find. if that doesn’t work then you can e-mail me the whole folder and I can try to make it work.

[email protected]

adc.h and string.h are included as:

#include <adc.h>

so they are in the search directory. He probably installed to D: or something.

hey guys good news :smiley:

I GOT IT TO WORK AFTER HOURS OF FRUSTRATION.

So this will not happen to anyone else let everyone know that you must tell mplab to set the places for mplab to look for coding in the build options area. IT IS NOT AUTOMATIC LIKE THE README FILE SAYS. Thanx to all of you for helping me really thankfull for it. See you at buckeye.

Actually, I think you forgot to set a checkmark during the install. On one of the screens of MCC18’s install, there is about 8 checkboxes. You should have checked all of these, especially the one about “Modify MPLAB to use MCC18” or something similar.