Compiling USBMouse.bas


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2005
    Location
    Selangor, Malaysia
    Posts
    31

    Red face Compiling USBMouse.bas

    Hi all,
    I'm new here and seeking for help. I try to compile the USBMouse.bas but come out with many errors :

    Warning[230] c:\pl\pbp\18f4455.inc 24: _config has been deprecated for PIC18 devices. Use directive config.

    Error[105] c:\pl\pbp\pbpusb18.lib 11:cannot open file (include file "\pbp\pbppic18.lib" not found)

    and etc


    From the usb.txt in the USB18 folder, it is saying that some files need to copy into the project source subdirectory. Please highlight me with this: the files need to copy, and what is the mean by "project source subdirectory".

    Please assist as soon as possible.


    Thanks

    kblim

  2. #2
    iblaster's Avatar
    iblaster Guest


    Did you find this post helpful? Yes | No

    Default

    PBP seems to like it is the compiler is in c:\pbp instead of c:\{some dir}\pbp. I had this problem and then renamed the compiler directory to c:\pbp and it was fine. Or you could creat a c:\pbp directory and then copy the pbppic18.lib file to that dir. Just ignore the warning message. It is from the compiler saying that the config syntax has changed. Also make sure that you copy the 18Fxxxx.bas files from the usb18 sub directory to the \pbp directory, as these are different .bas files for using the USB features. Be sure to rename the original 18Fxxxx.bas files that are in the \pbp directory to something else.

  3. #3
    Join Date
    Jul 2005
    Location
    Selangor, Malaysia
    Posts
    31


    Did you find this post helpful? Yes | No

    Default

    Thanks! I will try it.

Similar Threads

  1. Vista 64 bit OS Compiling
    By skorp in forum mel PIC BASIC
    Replies: 14
    Last Post: - 28th July 2009, 20:18
  2. Compiling Error with 18F452
    By michel in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st July 2008, 05:10
  3. Replies: 1
    Last Post: - 21st February 2008, 15:36
  4. error on compiling
    By parker in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 16th June 2005, 14:31
  5. Compiling problems
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th June 2005, 00:58

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