Jump to content
Sign in to follow this  
cdenk

Unable To Open Include File

Recommended Posts

I have BoostC Optimizing C Compiler Version 6.40 (for PIC16 architecture). The processor include file (and it's the only include at the moment) isn't found.

 

Here is the output listing:

 

Licensed to XXXXX under Single user Lite License for 1 node(s)

Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only

 

WELL SENSOR.C

E:\data\MICROCHIP\WELL SENSORS\WELL SENSOR.C(10): Unable to open include file: 16f84A.h

 

1 errors detected

 

failure

Error: preprocessing error

"C:\Program Files\SourceBoost\boostc.pic16.exe" "WELL SENSOR.C" -t PIC16F84A

Exit code was 1.

Removing target: WELL SENSOR.obj

Done

 

Have tried changing to another process that is included with the C compiler. Have confirmed the file exists in the original install folder, have copied to the drive/folder where the project is located, and with Project > Add files, added the file to the project. Didn't think these were required but thought it was worth a try. The Compiler package is a new install, and this is first project to get started.

Share this post


Link to post
Share on other sites
I have BoostC Optimizing C Compiler Version 6.40 (for PIC16 architecture). The processor include file (and it's the only include at the moment) isn't found.

 

Here is the output listing:

 

Licensed to XXXXX under Single user Lite License for 1 node(s)

Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only

 

WELL SENSOR.C

E:\data\MICROCHIP\WELL SENSORS\WELL SENSOR.C(10): Unable to open include file: 16f84A.h

 

1 errors detected

 

failure

Error: preprocessing error

"C:\Program Files\SourceBoost\boostc.pic16.exe" "WELL SENSOR.C" -t PIC16F84A

Exit code was 1.

Removing target: WELL SENSOR.obj

Done

 

Have tried changing to another process that is included with the C compiler. Have confirmed the file exists in the original install folder, have copied to the drive/folder where the project is located, and with Project > Add files, added the file to the project. Didn't think these were required but thought it was worth a try. The Compiler package is a new install, and this is first project to get started.

Share this post


Link to post
Share on other sites

>>>> I started a new project, added the file to the new project, and compiled without errors. Don't know what was goofy, but it works now. Don't need answer to the below. :(

 

 

 

 

 

I have BoostC Optimizing C Compiler Version 6.40 (for PIC16 architecture). The processor include file (and it's the only include at the moment) isn't found.

 

Here is the output listing:

 

Licensed to XXXXX under Single user Lite License for 1 node(s)

Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only

 

WELL SENSOR.C

E:\data\MICROCHIP\WELL SENSORS\WELL SENSOR.C(10): Unable to open include file: 16f84A.h

 

1 errors detected

 

failure

Error: preprocessing error

"C:\Program Files\SourceBoost\boostc.pic16.exe" "WELL SENSOR.C" -t PIC16F84A

Exit code was 1.

Removing target: WELL SENSOR.obj

Done

 

Have tried changing to another process that is included with the C compiler. Have confirmed the file exists in the original install folder, have copied to the drive/folder where the project is located, and with Project > Add files, added the file to the project. Didn't think these were required but thought it was worth a try. The Compiler package is a new install, and this is first project to get started.

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...