PBP 3 will not compile


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2009
    Posts
    40

    Default PBP 3 will not compile

    I have installed pbp 3 on a Windows 7 machine and have registered with correct serial number. When I compile the asm file using microchip mpasm tool suite it compiles correctly. If I try to use the micro engineering pic basic pro tool suite I then get the error: unable to execute mpasmwin.
    Any help would be appreciated.

  2. #2
    Join Date
    Jun 2015
    Posts
    10


    Did you find this post helpful? Yes | No

    Default 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%

  3. #3
    Join Date
    Jun 2015
    Posts
    10


    Did you find this post helpful? Yes | No

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

  4. #4
    Join Date
    May 2009
    Posts
    40


    Did you find this post helpful? Yes | No

    Default 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

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,519


    Did you find this post helpful? Yes | No

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

  6. #6
    Join Date
    May 2009
    Posts
    40


    Did you find this post helpful? Yes | No

    Default 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

  7. #7
    Join Date
    May 2009
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: PBP 3 will not compile

    How can I find out which machines my PBP3 is registers on? Regards Graham Guthrie

Similar Threads

  1. Replies: 10
    Last Post: - 11th April 2010, 09:12
  2. Cannot get pbp to compile
    By Tom@Nottingham in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd April 2009, 16:24
  3. need 18F4550.BAS to compile with PBP?
    By jocovo in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd December 2006, 01:23
  4. 18F2620 compile problems in PBP
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th August 2006, 10:11
  5. help to compile from a different directory of pbp.exe
    By cirknop in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th July 2004, 21:39

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts