Why when I compile a program for an 18F4550 with MPASM and PBP, I keep getting an error that says "ERROR: Macro USBINIT? not found in macro file" and the same for USBSERVICE. Does anyone know how to solve this problem?
Thanks,
Chris
Why when I compile a program for an 18F4550 with MPASM and PBP, I keep getting an error that says "ERROR: Macro USBINIT? not found in macro file" and the same for USBSERVICE. Does anyone know how to solve this problem?
Thanks,
Chris
You have a number of support files that need to be in the same directory as
the file you're compiling. If these files aren't in the same directory, you'll get
this error.
Bruce,
Can you elaborate? I understand what you are saying but I don't know what to look for.
Chris
Hi Chris,
Look in USB.TXT in your USB18 directory.
You can also download EasyHID from http://www.mecanique.co.uk/products/usb/easyhid.html
It will create all the required files for you & place them all in one directory.
I have those files but I still can't figure out why I am still getting this message. Any ideas?
OK, but is the file you're trying to compile in the same sub directory as the
USB support files?
I can force this exact same error, but only if the file I'm compiling isn't in the
same directory as the required USB include files.
Bookmarks