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

CCS registration file error

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



Joined: 09 Feb 2021
Posts: 23

View user's profile Send private message

CCS registration file error
PostPosted: Mon Feb 26, 2024 11:04 am     Reply with quote

I am attempting to build a project and am getting the error "Registration File error" "PCM: compiler not found"

When I change my

Code:
#include <16f18857.H>


from the correct one ( see above ) to a different one that I have used previously (see below)the error goes away and the code builds properly. Any thoughts on what to look at?

Code:
#include <18f56k42.H>


I'm using mplabX v 5.35
ccs v 5.097

I have checked the location where it is looking for the compiler, and that is correct.
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Feb 26, 2024 11:10 am     Reply with quote

My guess is that your compiler version doesn't have the 1st PIC in it's list ?
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Mon Feb 26, 2024 11:29 am     Reply with quote

Check the C:\Program Files (x86)\PICC\Devices folder to see if that processor is present.

If it is, I've had issues in the past with a failing SSD and CCS. A clean reinstall would get it working for me again for a while.
matthewmilford



Joined: 09 Feb 2021
Posts: 23

View user's profile Send private message

PostPosted: Mon Feb 26, 2024 12:07 pm     Reply with quote

When checking the list at
C:\Program Files (x86)\PICC\Devices

I do have the pic I am attempting to use present.
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Mon Feb 26, 2024 12:45 pm     Reply with quote

The registration files are separate and distinct.
There is one for pcb, one for pcm, one for pch and one for pcd.
Did you buy just the pch compiler?.
If so, it can only compile for PIC18 chips, not PIC16.
If you bought a 'suite' you should have the separate registration files.
If you only bought pch, this only supports the PIC18 chips.
Check what you bought and which registrations you have.
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