Re: PBP 3 will not compile
Check your path. I use a DOS batch file to do all my editing (Programmer's Notebook) and compiling, without the IDE. An example:
path c:\program files\pbp3;c:\program files\microchip\mpasm suite;c:\Program Files\Programmer's Notepad
REM Enter the file name, project file folder name, and PIC type. Use quotes if any spaces.
set filename=USERV200
set projectdrive=g:
set projectfile="My Job\software\New Rev"
set pic=18F67K90
REM The following stuff doesn't change
%projectdrive%
cd \%projectfile%
pn %filename%.bas
del %filename%.er
del %filename%.err
pbpx -ampasmwin -p%pic% -e -n %filename%
Re: PBP 3 will not compile
Now I have a question - I'm trying to modify a PBP 2.60 program into PBP 3.0.7, for the PIC16F913. I get several versions of this error at the end of compiling:
"Error[126] C:\PROGRAM FILES\PBP3\PBPPIC14.LIB 745 : Argument out of range (4111 not between 0 and 4095)"
I run the compiler without long variables from a batch file, i.e. "pbpx -ampasmwin -p%pic% -e %filename%" (no "-n"). The program doesn't use long variables.
These are my last 6 remaining errors. The 745 is 589 sometimes, and the 4XXX argument number changes. Anyone have a clue? What more do you need to help me? I see references to the PIC16F913.INC file, but I can only find a PIC16F913.PBPINC file, and nothing that I can find calls out the PBPPIC14.LIB file (which I found).
Re: PBP 3 will not compile
I am now trying to compile on an old Xp laptop machine and am getting the following message: Warning: unable to open INCLUDE file c:\libraries\documents\pbp projects\newexclusion\lcd_anypin.pbp.
Error[112] c:\program files\pbp3\pbppic14.lib 897 : missing operator.
Any help would be appreciated. Graham Guthrie
Re: PBP 3 will not compile
Read the error message(s), what does it tell you?
It's looking for the file LCD_ANYPIN.PBP in the folder mentioned in the message. Do you have such a file at that location? If not you have to put it there, in the same folder as the source file or in the PBP folder. The other message may (or may not) go away once the first one is fixed.
If you think you're having problem with the toolchain, the IDE, the compiler, the assember then the simplest "Hello World" or "Blink-a-LED" program is what you need to test with.
/Henrik.
Re: PBP 3 will not compile
I am slowly progressing but have now getting a message that says HIGHJACKED_LCDOUT not found PBPPIC??.LIB.
Can you please advise on how to install this in the correct Library.
Thank, you Graham Guthrie
Re: PBP 3 will not compile
How can I find out which machines my PBP3 is registers on? Regards Graham Guthrie