Not able to compile code due to PBPPROC.bal file not found


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2015
    Posts
    2

    Default Not able to compile code due to PBPPROC.bal file not found

    Hey All, I am relatively new to programming with the Picbasic Pro compiler and MPLAB IDE v.8.53. I am currently trying to compile some old code (C with inline assembly) on a windows 8.1 machine. I am trying to compile this for the 18F4520. When attempting to compile, I am getting the following error:

    Code:
    --------------------
    Executing: "C:\PBP\PBPMPLAB.BAT" -p18F4520 -n -ampasmwin -k# "FILE.pbp"
    Executing: "C:\PBP\PBPW.EXE" -p18F4520 -n -ampasmwin -k# "FILE.pbp"     
    PICBASIC PRO(TM) Compiler 2.60LA, (c) 1998, 2009 microEngineering Labs, Inc.
    All Rights Reserved.
    
    
    ERROR: Unable to find -p<pic> processor file PBPPROC.BAL
    
    
    PICBASIC PRO(TM) Compiler 2.60A, (c) 1998, 2010 microEngineering Labs, Inc.
    All Rights Reserved.
    
    ----------------------
    
    Note that there is a 18F4520.BAL file in the PBP directory, and there appears to be a .BAL, .BAS and .INC file for most processors. There is also a PBPPROC.BAS file and a PBPPROC.INC file but no PBPPROC.BAL file. The PBPPROC .BAS and .INC files both only contain this:

    INCLUDE "16F84.BAS"

    in the .bas file and

    INCLUDE "16F84.INC"

    in the .inc file.

    Is there an easy solution to solve this? Can I make a .BAL file? Why wasn't this file in the directory when I installed PBP?

    Thanks in advance!

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Not able to compile code due to PBPPROC.bal file not found

    Am I understanding you correctly? You are trying to compile C code with PicBasic? If so, that will not work, PicBasic is a compiler for PicBasic.

    If I am misunderstanding, please post your code so we can see what is going on.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2015
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Not able to compile code due to PBPPROC.bal file not found

    Whoops, that was a mistake. The file is indeed in PicBasic, and has inline assembly denoted by "asm" and "ENDASM" lines. It was provided as a .txt file, and includes a .pbp file that is just a bunch of routines written in assembly. Thank you for the quick response!

Similar Threads

  1. Installation. Include file not found?
    By thronborg in forum General
    Replies: 3
    Last Post: - 18th March 2011, 19:46
  2. Replies: 1
    Last Post: - 16th May 2010, 18:24
  3. Fail to compile, COD file missing
    By Jumper in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 29th June 2009, 17:20
  4. ERROR: Macro MOD?TCB not found in macro file.
    By JohnP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th February 2009, 19:10
  5. Cannot Open File Compile Error
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th January 2009, 18:18

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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