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

Compile error - unknown device type *** Locked - pirate

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
matheusmestres28



Joined: 30 Apr 2013
Posts: 20

View user's profile Send private message

Compile error - unknown device type *** Locked - pirate
PostPosted: Thu May 02, 2013 1:09 pm     Reply with quote

Hello guys, I'm trying to compile a code that usually works with different pics, usually family 18. It's a small code and I decided to transfer it to a 12f pic.

The error is in the first line: Unknown device type "pic12f1822.h"

Code:

#include <12f1822.h>


I have already downloaded the header file, and CCS still don't recognize it.

My version of PCW is 4.057
Should I install a newer version??
Can someone help me?? tyty
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Thu May 02, 2013 1:17 pm     Reply with quote

Hi,

You almost certainly will need to update your compiler version. Support for a
particular chip comes in the form of the supplied .h file, and support
internally in the compiler itself. If you did not receive the 12f1822.h file with
your compiler, you can be assured it's not supported in your version.

BTW, where did you download the .h file?

John
matheusmestres28



Joined: 30 Apr 2013
Posts: 20

View user's profile Send private message

PostPosted: Thu May 02, 2013 1:24 pm     Reply with quote

The link was: [link removed]
Ok, I'll look for a latest version of CCS..
Could it be any other thing??


+++++++++++++++++
Locked.

Reason: Forum rule #9

9. No pirating

No discussions or attempts to illegally acquire or distribute works
(software, manuals, books, etc) that you are not legally allowed to acquire or distribute.

Forum rules:
http://www.ccsinfo.com/forum/viewtopic.php?t=26245
- Forum Moderator
+++++++++++++++++
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu May 02, 2013 1:26 pm     Reply with quote

The link you point to is not an official CCS download website. Besides that, it is also a very, very, old version of the compiler with a lot of problems. The v4 compiler only started to work as expected again around v4.075
Save everybody a lot of time and get yourself a newer compiler version.

Please note that many of the pirated versions on the internet have a suspicious larger file size than my original downloaded version. You'll be installing some malicious software next to the compiler...
matheusmestres28



Joined: 30 Apr 2013
Posts: 20

View user's profile Send private message

PostPosted: Thu May 02, 2013 1:46 pm     Reply with quote

Ok then, thank you a lot guys!! I'll search for a newer version.


++++++++++++++++++++++
Pirating CCS compiler not smart idea on CCS company forum.

- Forum Moderator
++++++++++++++++++++++
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu May 02, 2013 2:08 pm     Reply with quote

If you have to search for a newer version it will be a pirated version.

The only place you need to look is the CCS website!
_________________
Google and Forum Search are some of your best tools!!!!
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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