CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

htc.h?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
akohlsmith



Joined: 25 Apr 2012
Posts: 26

View user's profile Send private message

htc.h?
PostPosted: Tue Aug 07, 2012 9:42 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Aug 07, 2012 9:49 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Aug 07, 2012 9:52 am     Reply with quote

HTC.h is a Hi Tech compiler include file. Shocked
_________________
PCWH 4.14
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group