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: 19552
Posted: Mon Mar 16, 2015 11:44 am
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.
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