USB Mpasm Compile errors


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Posts
    4

    Default USB Mpasm Compile errors

    Hi

    I recently updated to 2.50a and want to start doing some USB code.

    Having never done USB I thought I should start in the demo folder with USBMOUSE.BAS but unlike the other non USB samples it will not compile.

    It gets through to the Assembler the cops out with a whole bunch of errors the first being something about not being able to find PBPPIC18.LIB

    I'm using Mpasmwin and compile other devices using that setting.

    Obviously I'm doing something wrong but run out of ideas. What do I do now?

    Thanks

    John

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    make sure all files are located in the same folder. Read USB.TXT for more information

    I'll also suggest you my USBDemo. That should be enough to start.

    USBDemo, something to learn USB a little bit
    http://www.picbasic.co.uk/forum/showthread.php?t=5418

    Also POST#148 for better USBService handling.
    http://www.picbasic.co.uk/forum/show...&postcount=148

    HTH
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Dec 2007
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Hello

    I did read the txt file and ensured that all the appropriate files were in the correct folder. I take it that demo programs will compile as provided with out modification or am I wrong?

    I also Yesterday searched the forum and found your post and tried that but I get exactly the same errors. I can only presume that something went wrong in the installation but I find this odd as other programs compile with out any problems which would I'm sure require the PBPPIC18.LIB file.

    In the long distant past you had to set the path up for Mpasm to see the code and includes but that was way back with DOS like config files not what you would expect with XP.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Unable to pass a variable to LCDOUT without getting compile errors
    By Ferroto Baggins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2010, 16:43
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  4. USB PBPL Compile errors
    By Rob in forum USB
    Replies: 11
    Last Post: - 7th April 2008, 08:18
  5. 2550 in a coma, mpasm 4k of errors, inc file notfound
    By f_lez in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th June 2007, 17:42

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