midi2-dev / AmeNote_Protozoa

AmeNote ProtoZOA MIDI 2.0 Prototyping Tool
Other
2 stars 1 forks source link

How to solve libraries that do not link to midi2 #2

Open cym132 opened 3 months ago

cym132 commented 3 months ago
/home/ming/Downloads/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lmidi2

collect2: error: ld returned 1 exit status UUT/USB_FunctionBlocks/CMakeFiles/UUT_USB_FB.dir/build.make:1414: recipe for target 'UUT/USB_FunctionBlocks/UUT_USB_FB.elf' failed make[2]: [UUT/USB_FunctionBlocks/UUT_USB_FB.elf] Error 1 CMakeFiles/Makefile2:2216: recipe for target 'UUT/USB_FunctionBlocks/CMakeFiles/UUT_USB_FB.dir/all' failed make[1]: [UUT/USB_FunctionBlocks/CMakeFiles/UUT_USB_FB.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: *** [all] Error 2

fdetro commented 3 months ago

It seems there was a breaking change in AM_MIDI2.0Lib, the library was renamed from midi2 to libmidi2. I will create a PR with a fix.