ERROR: Macro USBINIT?,USBSERVICE?,USBIN?CBBL ,USBOUT?CBBL not found in macro file.


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    I know this topic has been beaten to death on these forums, but I cannot get it to work. When I try to compile the USBProject, I get these same errors. Are there files that I might be missing, even though I have all the files from the zip file above in the same folder.

    ERROR: Macro USBINIT? not found in macro file.
    ERROR: Macro USBSERVICE? not found in macro file.
    ERROR: Macro USBIN?CBBL not found in macro file.
    ERROR: Macro USBOUT?CBBL not found in macro file.


    Any help would be appreciated!

    Thanks.
    Last edited by pbauman; - 22nd October 2009 at 00:40. Reason: forgot the error messages

  2. #2


    Did you find this post helpful? Yes | No

    Default

    hi Bachra,
    I have PBP2.47 at the moment and i've been digging through all the pbp files for the pic18, so i may have a solution...

    Do what BigWumpus has said...
    Then open PIC18EXT.BAS in notepad and comment out lines 12 through 15 (assuming your "Redefinition of VAR" errors are with those new lines)

    Basically, my understanding is that the error "Redefinition of VAR" error is that it's tried to create the same variable name twice, so, you only need one...

    Now try to compile and hopefully it's just an oversight that those variables have been defined twice...
    Last edited by comwarrior; - 22nd October 2009 at 02:26.

  3. #3


    Did you find this post helpful? Yes | No

    Default same but with 18f2455

    I have the same errors, but im using a 18f2455
    how would i fix this?

    thanks.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    i just tried a 4450, with your modifications, and it still don't work.

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 23:14
  2. PBPro error "Macro USBINIT? not found in macro file"
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th October 2011, 10:06
  3. ERROR: Macro MOD?TCB not found in macro file.
    By JohnP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th February 2009, 20:10
  4. Error: macro COUNT?TCT nor found in macro file.
    By AMMOTT in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th November 2007, 06:05
  5. 18F452 "Unknown Processor" errors
    By schwinn_rider in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th April 2006, 04:56

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