What does the error say?
<br>
The message says:
"WARNING: Unable to open INCLUDE file LCDBAR_INC.BAS."
The file above is renamed with an extension of .txt, because the forum won't let you upload .bas files. So make sure you rename it to just LCDBAR_INC.BAS
Place the file in the same folder as the main program, and you should be good to go.
<br>
DT
I tried everything and it still doesn't work. I have it in the same folder as the main program. I'm stumped.
can you post a whole screenshot?
It's working for me.
EDIT: i don't know if it's revelant but be sure your program path is short I.e C:\PBPprog\Project1
Last edited by mister_e; - 10th July 2006 at 04:46.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I thought PBP (especially when run through a DOS window) couldn't handle filenames greater than 8 characters...
Example 1...
PBP -p16F628 12345678 -v
The above WILL comple, the example below will NOT...
PBP -p16F628 a12345678 -v
Further... here's a gotcha...
Example 2.
PBP -p16F628 12345678 -v
Will compile the file 12345678.bas happilly...
Example 3.
PBP -p16F628 123456789 -v
Will NOT compile the expected file 123456789.bas but instead will access the file at Example 2 and compile that instead!
Then you would use...
<pre>PBPW -p16F628 123456789AndAFewMore.bas -v</pre>or use MCSP, it does it automatically.
But since you bring up the command line option, there's a few things that could be a possible problem. Path settings, current directory ...
Christopher,
Are you compiling by command line, or an IDE?
<br>
DT
Bookmarks