MCC-18
First attempt. Just a simple setup the devices code.
I am getting a couple of errors when compiling.
The biggie is:
MPLINK 4.22, Linker
Copyright (c) 2008 Microchip Technology Inc.
Error - could not find file 'c018i.o'.
Errors : 1
I can find the file, I added it in the Project window dropdown, still no joy.
The other is the adc setup, probably just missed something (commented out), will go back and do some more reading.
MCC-18
First attempt. Just a simple setup the devices code.
I am getting a couple of errors when compiling.
The biggie is:
MPLINK 4.22, Linker
Copyright (c) 2008 Microchip Technology Inc.
I don't use C18 so I can't help with the error thing, but I will help you by cleaning up and reposting your source code so it's readable (it's strangely double-spaced and sprawling). That way others will be more inclined to look at it.
i see no config lines also if you get that error than maybe its in a bad folder. Try making a new project in C: like "c:\newcode\" and save it there..
Make sure you add a config line.
I did a cut / paste from the program window of MPLAB, I thought it was because I was messing with it at work last night in WordPad, MPLAB don't like it when you do that.
My brain ain't screwed on correct, we are in the midst of layoffs at work and the line is supposedly drawn just below me, ain't a good feeling when you have 20yrs seniority.
EM-2 Linker error: “could not find file ‘c018i.o’”
Enter the proper directory path in Project>Build Options…>Project General tab. Set
the Library Path box to “C:\mcc18\lib”. c018i.o is the start-up library for MPLAB
C18. It sets up the stack, initializes variables, then jumps to main() in the application.
EM-2 Linker error: “could not find file ‘c018i.o’”
Enter the proper directory path in Project>Build Options…>Project General tab. Set
the Library Path box to “C:\mcc18\lib”. c018i.o is the start-up library for MPLAB
C18. It sets up the stack, initializes variables, then jumps to main() in the application.
Ok. I did a default install so I am not sure why that did not get set correctly, BUT, I did set it just now after a new install and the error is gone, compile completed.