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

Error#146 Import error PIC18F46K22!=PIC18F458

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



Joined: 03 Mar 2015
Posts: 5

View user's profile Send private message

Error#146 Import error PIC18F46K22!=PIC18F458
PostPosted: Mon Mar 16, 2015 9:02 am     Reply with quote

Hi,

It would be great if anyone helps on my linking error.

I am able to compile all of my project files without errors, but getting some linking errors, due to that I am unable to create .hex file.
Following is the error I am getting while compiling the project.

Error#146 Import error PIC18F46K22!=PIC18F458

Thanks in advance.
Ttelmah



Joined: 11 Mar 2010
Posts: 19506

View user's profile Send private message

PostPosted: Mon Mar 16, 2015 11:44 am     Reply with quote

Realistically you will find things work much better/easier if you forget linking.
Though CCS now does link, it is at heart a single pass compiler, and things are optimised much better if it is allowed to compile all the code in one pass....

However your error says you are trying to link a file that was compiled for a different chip.
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