Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failed (MacOS) #29

Open
iandoesallthethings opened this issue Aug 13, 2024 · 1 comment
Open

Compilation failed (MacOS) #29

iandoesallthethings opened this issue Aug 13, 2024 · 1 comment

Comments

@iandoesallthethings
Copy link

I saw an issue from last year, but this seems different so I figured I'd drop it here. Seems like it's having trouble reading a type in the c++?

OS: MacOS Sonoma 14.6.1 (latest)
Godot: 4.2.2 Stable

modules/gltf/register_types.cpp:63 - Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
--- Debug adapter server started ---
--- GDScript language server started on port 6008 ---
  core/io/http_client_tcp.cpp:152 - Condition "!_check_request_url(p_method, p_url)" is true. Returning: ERR_INVALID_PARAMETER
  editor/plugins/asset_library_editor_plugin.cpp:862 - Error getting image file from URL: https://bitbucket.org/arlez80/godot-midi-player-g4/downloads/icon.png
  modules/gdscript/gdscript_compiler.cpp:121 - GDScript bug: Native class "MidiResource" not found.
  modules/gdscript/gdscript_compiler.cpp:121 - GDScript bug: Native class "MidiResource" not found.
  modules/gdscript/gdscript_compiler.cpp:121 - GDScript bug: Native class "MidiResource" not found.
  modules/gdscript/gdscript_compiler.cpp:121 - GDScript bug: Native class "MidiResource" not found.
  res://addons/godot_midi/midi_import_plugin.gd:52 - Compile Error: Identifier not found: MidiResource
  res://addons/godot_midi/godot_midi.gd:-1 - Compile Error: 
  modules/gdscript/gdscript.cpp:2726 - Failed to load script "res://addons/godot_midi/godot_midi.gd" with error "Compilation failed". (User)
@nlaha
Copy link
Owner

nlaha commented Aug 14, 2024

Can you check to make sure the MacOS binary files are present in the addon directory?

You should see the following two files in the <your godot project root>/addons/godot_midi/bin folder:
libgdgodotmidi.macos.template_debug.framework
libgdgodotmidi.macos.template_release.framework

These won't show up in Godot, but you should see them when you browse in finder. If they aren't there, go back and reinstall the plugin using the instructions in the README. Make sure you downloaded the plugin from one of the published GitHub releases or followed the steps to compile it from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants