I've been trying for a while to set up CC5X compiler using MPLAB ver 6.30. After working through several error message, the last was related not able to locate Reloc.inc file which I believe I remedied by the $incdir command line in the "Build Options window using ("C:\Program Files\MPLAB IDE\cc++\"-a). Now I'm getting error message (#pragma chip PIC16F819 ^------ Error PWM.c 1: Unable to open file '16F819.h' (The file name or path can be wrong)). how can I handle this problem? thanks bill davis |
|
CC5X install
Started by ●March 1, 2005
Reply by ●March 1, 20052005-03-01
Have you copied the header file to your project dir? I think it has to be in the same dir as your .C file. /Michael -----Ursprungligt meddelande----- Fr: wdavis364 [mailto:] Skickat: den 1 mars 2005 18:40 Till: ne: [piclist] CC5X install I've been trying for a while to set up CC5X compiler using MPLAB ver 6.30. After working through several error message, the last was related not able to locate Reloc.inc file which I believe I remedied by the $incdir command line in the "Build Options window using ("C:\Program Files\MPLAB IDE\cc++\"-a). Now I'm getting error message (#pragma chip PIC16F819 ^------ Error PWM.c 1: Unable to open file '16F819.h' (The file name or path can be wrong)). how can I handle this problem? thanks bill davis |
Reply by ●March 1, 20052005-03-01
thanks for the reply, I do have it listed under header files in the
project directory. I can open and edit the file under the header file listing. Its listed #pragma chip PIC16f819 which is the first line of code in the program. I'm not familiar with the #pragma syntax. I tried #include <16f819> along with other variations with no luck. bill ----- Original Message ----- From: "Mippen" <> To: <> Sent: Tuesday, March 01, 2005 12:07 PM Subject: SV: [piclist] CC5X install Have you copied the header file to your project dir? I think it has to be in the same dir as your .C file. /Michael -----Ursprungligt meddelande----- Fr: wdavis364 [mailto:] Skickat: den 1 mars 2005 18:40 Till: ne: [piclist] CC5X install I've been trying for a while to set up CC5X compiler using MPLAB ver 6.30. After working through several error message, the last was related not able to locate Reloc.inc file which I believe I remedied by the $incdir command line in the "Build Options window using ("C:\Program Files\MPLAB IDE\cc++\"-a). Now I'm getting error message (#pragma chip PIC16F819 ^------ Error PWM.c 1: Unable to open file '16F819.h' (The file name or path can be wrong)). how can I handle this problem? thanks bill davis to unsubscribe, go to http://www.yahoogroups.com and follow the instructions Yahoo! Groups Links |
Reply by ●March 1, 20052005-03-01
Michael, I reread your response about .h file being in the same directory
as the .c file. I'll do that and let you know. thanks bill ----- Original Message ----- From: "Mippen" <> To: <> Sent: Tuesday, March 01, 2005 12:07 PM Subject: SV: [piclist] CC5X install Have you copied the header file to your project dir? I think it has to be in the same dir as your .C file. /Michael -----Ursprungligt meddelande----- Fr: wdavis364 [mailto:] Skickat: den 1 mars 2005 18:40 Till: ne: [piclist] CC5X install I've been trying for a while to set up CC5X compiler using MPLAB ver 6.30. After working through several error message, the last was related not able to locate Reloc.inc file which I believe I remedied by the $incdir command line in the "Build Options window using ("C:\Program Files\MPLAB IDE\cc++\"-a). Now I'm getting error message (#pragma chip PIC16F819 ^------ Error PWM.c 1: Unable to open file '16F819.h' (The file name or path can be wrong)). how can I handle this problem? thanks bill davis to unsubscribe, go to http://www.yahoogroups.com and follow the instructions Yahoo! Groups Links |