Open zavodnyrichard opened 3 years ago
Hi, I tried to build the hid_mouse example but got the following error and I don't really know what that means, nor how to fix it.
make[2]: *** [build/PIC18F25K50/production/_ext/1268166442/usb.p1] Error 1 make[2]: *** Waiting for unfinished jobs.... ../../../usb/src/usb.c:200:45: error: pasting formed '@BD_ADDR', an invalid preprocessing token static struct buffer_descriptor bds[NUM_BD] BD_ATTR_TAG; //BD_ATTR_TAG ^ ../../../usb/src/usb_hal.h:312:23: note: expanded from macro 'BD_ATTR_TAG' #define BD_ATTR_TAG @##BD_ADDR ^ ../../../usb/src/usb.c:298:14: error: pasting formed '@BUFFER_ADDR', an invalid preprocessing token } ep_buffers XC8_BUFFER_ADDR_TAG; //XC8_BUFFER_ADDR_TAG ^ ../../../usb/src/usb_hal.h:314:32: note: expanded from macro 'XC8_BUFFER_ADDR_TAG' #define XC8_BUFFER_ADDR_TAG @##BUFFER_ADDR ^ 2 errors generated.
I would appreciate any help, thank you! :)
Hi, I tried to build the hid_mouse example but got the following error and I don't really know what that means, nor how to fix it.
I would appreciate any help, thank you! :)