View Full Version : 979 need programing help bad
dddriveman
20-03-2004, 20:58
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
Astronouth7303
20-03-2004, 21:08
Astronouth7303@go.com
KenWittlief
20-03-2004, 21:10
can you cut and paste the error message from the screen onto here?
dddriveman
20-03-2004, 21:12
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
KenWittlief
20-03-2004, 21:14
can you post the first 10 or so?
if the compiler cant find a file it might flag all your variables as undefined
KenWittlief
20-03-2004, 21:15
do you want to edit the default code?
have you been able to compile it before?
dddriveman
20-03-2004, 21:20
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
KenWittlief
20-03-2004, 21:26
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.
Astronouth7303
20-03-2004, 21:27
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, 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
Astronouth7303
20-03-2004, 21:30
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
warpspeed
20-03-2004, 21:31
...it it tells me that it cannot find fles such as adc.h and string.h and so on. I know their there...
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.
gkeggi@mindspring.com
Astronouth7303
20-03-2004, 21:34
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.
dddriveman
20-03-2004, 22:07
hey guys good news :D
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.
hey guys good news :D
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.