I want to get this running through the main library: flutter_midi_command. But I am facing an issue at compilation time.
/home/<project_folder>/linux/flutter/generated_plugin_registrant.cc:9:10: fatal error: 'flutter_midi_command_linux/none.h' file not found
/home/<project_folder>/linux/flutter/ephemeral/.plugin_symlinks/flutter_midi_command_linux/linux/flutter_midi_command_linux_plugin.cc:74:72: error: redefinition of 'channel'
/home/<project_folder>/linux/flutter/ephemeral/.plugin_symlinks/flutter_midi_command_linux/linux/flutter_midi_command_linux_plugin.cc:79:56: error: redefinition of 'channel'
This is the generated_plugin_registrant.cc file:
//
// Generated file. Do not edit.
//
// clang-format off
#include "generated_plugin_registrant.h"
#include <flutter_midi_command_linux/none.h>
void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flutter_midi_command_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "none");
none_register_with_registrar(flutter_midi_command_linux_registrar);
}
I thought it might be an environment issue due to a lack of native libraries and headers missing, but I am at a loss. I tried making alsa available, but it did not change anything.
Do you have any tips on how I should proceed?