9 years ago.

USBMIDI_HelloWorld errors

Hello. I'm tryinng to compile USBMIDI_HelloWorld example but compilation fails with bunch of errors. My platform is K64F. Can anybody to compile this program?

Also How to remove platform from list of added platforms in "Select platform dialog"?

1 Answer

9 years ago.

Have you tried updating all of the libraries and dependencies? If you click on the library (including the mbed library) in the IDE, a green arrow will appear on the icon if the library can be updated. There will also be an update button on the right side of the IDE. Click that to update the library.

You can remove the platform by going to the platform's page and clicking the "Remove" button under "Remove from your mbed Compiler" on the right hand side of the page.

Hope that helps!

-Brian

Hello Yes, I tried to update all of the libraries many times but it doesn't helps. Screenshot here:

https://drive.google.com/file/d/0B8Ca28cJlc3rWk1HeXViUDRUOFU/view?usp=sharing

posted by Vladimir Baranov 13 May 2015

Those errors definitely shouldn't be happening.

I would try deleting the program you're currently working on, then reimporting the example program from here: https://developer.mbed.org/users/samux/code/USBMIDI_HelloWorld/

Once you do that, update both the USBDevice and mbed libraries. I just tried that and it built correctly. Let me know if you still have issues after that.

posted by Brian Daniels 13 May 2015

This example works. Thank you!

posted by Vladimir Baranov 13 May 2015