Compile errors using mplab 8.92

Discussions related to MegaDrum Hardware

Compile errors using mplab 8.92

Postby andcvi » Tue Feb 25, 2014 6:22 am

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
You do not have the required permissions to view the files attached to this post.
andcvi
 
Posts: 2
Joined: Tue Feb 25, 2014 6:10 am

Re: Compile errors using mplab 8.92

Postby andcvi » Wed Feb 26, 2014 10:22 pm

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"
andcvi
 
Posts: 2
Joined: Tue Feb 25, 2014 6:10 am


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 63 guests