Page 1 of 1

Compile errors using mplab 8.92

PostPosted: Tue Feb 25, 2014 6:22 am
by andcvi
Hello

Just new to this midi stuff, I downloaded the source code for the usb side of the project and tried to compile for a 18f14k50 pic, but I keep getting this error as shown in the downloaded image file, have included the source code as well.

I want to add usb status leds on Port RC0, and RC1, in the source code.

It keeps referring to this in the usb_device.h file, syntax error

BOOL USB_APPLICATION_EVENT_HANDLER(BYTE address, USB_EVENT event, void *pdata, WORD size);

any ideas as to why?

regards Andrew

Re: Compile errors using mplab 8.92

PostPosted: Wed Feb 26, 2014 10:22 pm
by andcvi
Problem solved, compiles now

Had to add in main.c

#include "HardwareProfile.h"
#include "usb_function_audio.h"

deleted in usb.c

//#include "usb_device.h"