I have the latest level MPLAB and PCWH compiler installed on my desk pc and laptop. The laptop will build the project fine with MPLAB.
The desk PC gives build errors as it's not seeing the header file.
My code includes
#include <16F506.h>
on the first line.
I have checked settings in mplab and all directories are pointing correctly to the CCS compiler.
If I manually copy the 16F506.h file to the folder of my code it builds fine. For some reason it's not seeing the header file elsewhere.
Any ideas on what else to check ?
Project is working fine on laptop but not on desktop.
Thanks
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Apr 27, 2010 1:27 pm
The 16F506 uses the PCB compiler. MPLAB comes with a free version
of the PCB compiler. It's possible that you installed PCB when you
installed MPLAB. It's listed under "Third Party Tools" in the MPLAB setup
program. It's possible that there is a conflict between the MPLAB version
of PCB and the PCB in PCWH. Try to sort that out.
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