Examples online and the compiler itself (ccsc 4.135) asks me to include htc.h instead of my device-specific include file (PIC24F32KA304.h)... However, I do not see an htc.h file anywhere in CCS's install path, and in fact neither does the compiler:
Code:
*** Error 18 "main.c" Line 3(10,17): File can not be opened
Not in "C:\Program Files\PICC\devices\htc.h"
Not in "C:\Program Files\PICC\drivers\htc.h"
Not in "C:\Program Files\PICC\Devices\htc.h"
Is this expected? Where does one obtain the htc.h header file?
akohlsmith
Joined: 25 Apr 2012 Posts: 26
Posted: Tue Aug 07, 2012 9:49 am
I think I got it. It's not htc.h at all, still not sure where that was coming from.
I was including "PIC24F32KA304.h", not "24F32KA304.h"; I picked up a goofy device header file from somewhere.
W4GNS
Joined: 28 Sep 2010 Posts: 14 Location: Virginia, USA
Posted: Tue Aug 07, 2012 9:52 am
HTC.h is a Hi Tech compiler include file. _________________ PCWH 4.14
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum