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 support@ccsinfo.com

MPLAB and Header files not found

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



Joined: 22 Jun 2006
Posts: 5

View user's profile Send private message

MPLAB and Header files not found
PostPosted: Tue Apr 27, 2010 6:43 am     Reply with quote

Hi,

I have an issue that I cannot solve.

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

View user's profile Send private message

PostPosted: Tue Apr 27, 2010 1:27 pm     Reply with quote

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.
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