Compiler Error


Closed Thread
Results 1 to 3 of 3

Thread: Compiler Error

  1. #1
    mikep's Avatar
    mikep Guest

    Angry Compiler Error

    Can anyone direct me to what might be causing this error.
    It just started showing up and to my knowledge nothing changed.
    (But something must have) I've compiled on the command line like this from the start.

    What's really weird is that it's not giving me the error when I use pbpw as shown below.

    Thanks for any pointer on where to look!



    C:\DOCUME~1\mikep\MYDOCU~1\AUTOPI~1\src>pbp -p16F876 main.bas
    PicBasic Pro Compiler 2.43, (c) 1998, 2002 microEngineering Labs, Inc.
    All Rights Reserved.
    PM Assembler 4.05, Copyright (c) 1995, 2002 microEngineering Labs, Inc.
    Fatal C:\DOCUME~1\MIKEP\MYDOCU~1\AUTOPI~1\SRC\MAIN.ASM 5 : [302] Unable to Ope
    n File '16F876.INC'

    C:\DOCUME~1\mikep\MYDOCU~1\AUTOPI~1\src>pbpw -p16F876 main.bas
    PicBasic Pro Compiler 2.43, (c) 1998, 2002 microEngineering Labs, Inc.
    All Rights Reserved.
    PM Assembler 4.05, Copyright (c) 1995, 2002 microEngineering Labs, Inc.
    Warn C:\DOCUME~1\MIKEP\MYDOCU~1\AUTOPI~1\SRC\MAIN.ASM 659 : [102] Code Crosses
    Boundary @ 800h
    Warn C:\DOCUME~1\MIKEP\MYDOCU~1\AUTOPI~1\SRC\MAIN.ASM 1301 : [102] Code Crosses
    Boundary @ 1000h
    4432 words used.

    C:\DOCUME~1\mikep\MYDOCU~1\AUTOPI~1\src>

  2. #2
    mikep's Avatar
    mikep Guest


    Did you find this post helpful? Yes | No

    Default

    This is to weird.....

    For whatever reason it now compiles without that error.

    C:\DOCUME~1\mikep\MYDOCU~1\AUTOPI~1\src>pbp -p16F876 main.bas
    PicBasic Pro Compiler 2.43, (c) 1998, 2002 microEngineering Labs, Inc.
    All Rights Reserved.
    PM Assembler 4.05, Copyright (c) 1995, 2002 microEngineering Labs, Inc.
    Warn C:\DOCUME~1\MIKEP\MYDOCU~1\AUTOPI~1\SRC\MAIN.ASM 659 : [102] Code Crosses
    Boundary @ 800h
    Warn C:\DOCUME~1\MIKEP\MYDOCU~1\AUTOPI~1\SRC\MAIN.ASM 1301 : [102] Code Crosses
    Boundary @ 1000h
    4258 words used.


    The difference is size is the difference of commenting and uncommenting some DEBUG lines.

    I commented them all back out. Compiled the code and no error.
    I re-uncommented them back out and now it's fine.

    Bizarre!

    :-)

  3. #3
    Speed-Cubed's Avatar
    Speed-Cubed Guest


    Did you find this post helpful? Yes | No

    Default

    This is just a Reminder to have your BranchL bit set.
    An advisery only....
    Nothing to worry on.Unless your just using Brach and not branchL

    K

Similar Threads

  1. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  2. Optimizing DIV
    By skimask in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd September 2008, 04:58
  3. pbp245 compliation error
    By Woodzy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 25th July 2006, 05:59
  4. 16F88 Compile error
    By Toley00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd November 2005, 00:22
  5. Compiler/Assembler Error
    By LT_Pic in forum General
    Replies: 7
    Last Post: - 21st July 2005, 09:47

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