Hi everybody
So I just installed mplab on my home computer and am trying to build and run a c program that I created at school so I can work on it. Im using pickit2 and pic16f887, with the hitech compiler. When I installed mplab from microchip.com on this computer, and installed hitech, everything seemed fine. I tried to build my program and keep getting these 5 error messages, referring to the config line at the top of my code. the problem isnt with the code, because this code worked no problem at school. Im not sure what the issue is.
Error [800] test.as; 45. undefined symbol "PWRTEN"
Error [800] test.as; 45. undefined symbol "WDTDIS"
Error [800] test.as; 45. undefined symbol "INTCLK"
Error [800] test.as; 45. undefined symbol "BORDIS"
Error [800] test.as; 45. undefined symbol "LVPDIS"
this is the line in my code:
__CONFIG(LVPDIS & BORDIS & INTCLK & WDTDIS & PWRTEN);
Im thinking I either dont have something installed or am missing a file.
Any ideas?
So I just installed mplab on my home computer and am trying to build and run a c program that I created at school so I can work on it. Im using pickit2 and pic16f887, with the hitech compiler. When I installed mplab from microchip.com on this computer, and installed hitech, everything seemed fine. I tried to build my program and keep getting these 5 error messages, referring to the config line at the top of my code. the problem isnt with the code, because this code worked no problem at school. Im not sure what the issue is.
Error [800] test.as; 45. undefined symbol "PWRTEN"
Error [800] test.as; 45. undefined symbol "WDTDIS"
Error [800] test.as; 45. undefined symbol "INTCLK"
Error [800] test.as; 45. undefined symbol "BORDIS"
Error [800] test.as; 45. undefined symbol "LVPDIS"
this is the line in my code:
__CONFIG(LVPDIS & BORDIS & INTCLK & WDTDIS & PWRTEN);
Im thinking I either dont have something installed or am missing a file.
Any ideas?