PDA

View Full Version : USB Mpasm Compile errors



JBrannan
- 21st December 2007, 14:04
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

mister_e
- 21st December 2007, 16:47
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/showpost.php?p=30682&postcount=148

HTH

JBrannan
- 21st December 2007, 18:13
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.