Open cym132 opened 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
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.
midi2
libmidi2
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