PBP projects for R/C models


Results 1 to 40 of 772

Threaded View

  1. #24
    Join Date
    Nov 2009
    Location
    Fitchburg, Mass
    Posts
    483


    Did you find this post helpful? Yes | No

    Default Attached is my racer.bas code

    Here is the file that I have been compiling with MicroEngineering MicroCode Studio PICBasic Pro compiler, building with MPASM and programming with PICkit 2 successfully.

    The assembly language result from this MicroCode Studio compile is not acceptable to the Microchip PICkit 2 Debug Express MPLAB IDE.

    It says in RED "BUILD FAILED"

    OH! I see now. It is complaining about PBPPIC14.LIB lines 607, 623, 640, 643, 649 etc.

    These are all "if" statements that look like this:
    7785 if ($ > 800h)
    541 if ($ == (Label))
    552 if (((Label) & 800h) == 0)
    559 if (((Label) & 1000h) == 0)
    705 if ((Label) > $)
    722 if (((Label) & 1800h) == 0)
    725 if (((Label) & 800h) == 0)
    731 if (((Label) & 1000h) == 0)
    607 if ((Label) < 1)
    623 if ((Label) > $)
    640 if (((Label) & 1800h) == 0)
    643 if (((Label) & 800h) == 0)
    649 if (((Label) & 1000h) == 0)
    677 if ($ == (Label))
    689 if ((Label) < 1)


    Hundreds of:

    Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F887 "racers.asm" /l"racers.lst" /e"racers.err" /o"racers.o" /d__DEBUG=1
    Error[151] C:\PBP\PBPPIC14.LIB 7785 : Operand contains unresolvable labels or is too complex
    Error[151] C:\PBP\PBPPIC14.LIB 607 : Operand contains unresolvable labels or is too complex
    Error[151] C:\PBP\PBPPIC14.LIB 623 : Operand contains unresolvable labels or is too complex
    Error[151] C:\PBP\PBPPIC14.LIB 640 : Operand contains unresolvable labels or is too complex
    Error[151] C:\PBP\PBPPIC14.LIB 643 : Operand contains unresolvable labels or is too complex
    Followed by:

    Error[151] C:\PBP\PBPPIC14.LIB 559 : Operand contains unresolvable labels or is too complex
    ----------------------------------------------------------------------
    Debug build of project `C:\Pk2 Lessons\44Pin Demo Board\racers\racers.mcp' failed.
    Language tool versions: MPASMWIN.exe v5.35, mplink.exe v4.35
    Preprocessor symbol `__DEBUG' is defined.
    Tue Feb 16 20:56:41 2010
    ----------------------------------------------------------------------
    BUILD FAILED
    It appears that all I need to do is to figure out why this .lib file is incompatible with MPLAB IDE....

    Hmmmm....

    Ken
    Attached Files Attached Files

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. PBP Extensions, What are they?
    By PJALM in forum PBP Extensions
    Replies: 9
    Last Post: - 28th September 2021, 11:26
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30
  5. Making PBP code more modular
    By forgie in forum General
    Replies: 30
    Last Post: - 25th October 2005, 16:24

Members who have read this thread : 0

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