Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hello Voylin,

I am using version 6.2 on MacOS with Godot 4.4. But it isn´t working. I think this error is already known.

Error:

ERROR: Can't open dynamic library: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib. Error: dlopen(/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib, 0x0002): tried: '/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib' (no such file), '/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib' (no such file).

  ERROR: Can't open GDExtension dynamic library: 'res://addons/gde_gozen/gozen.gdextension'.

  ERROR: res://addons/gde_gozen/plugin.gd:2 - Parse Error: Class "GoZenServer" hides a global script class.

  ERROR: res://addons/gde_gozen/video_playback.gd:1 - Parse Error: Class "VideoPlayback" hides a global script class.

  ERROR: res://addons/gde_gozen/video_playback.gd:36 - Parse Error: Could not find type "GoZenVideo" in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:133 - Parse Error: Could not find type "GoZenVideo" in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:141 - Parse Error: Could not find type "GoZenVideo" in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:119 - Parse Error: Identifier "GoZenVideo" not declared in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:379 - Parse Error: Identifier "GoZenAudio" not declared in the current scope.

(1 edit)

I was able to solve part of the issue but I am stuck now:

1. the path that Godot expects was different than how you named your folder. You use: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos/debug/libgozen.macos.template_debug.arm64.dylib

but

 /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib

is expected. At least on my Mac.

The second issue I encountered is that Apple doesn´t allow the file to be opened since it´s a third party lib and hasn´t been notarized by Apple.
This terminal command fixed it:
xattr -d com.apple.quarantine /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib

But now I am stuck.



  ERROR: Can't open dynamic library: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib. Error: dlopen(/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib, 0x0002): Library not loaded: ./bin/lib/libavcodec.60.dylib

  ERROR:   Referenced from: <3A52ED05-1418-35B4-AB3C-A4C92852ACB3> /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib

  ERROR:   Reason: tried: './bin/lib/libavcodec.60.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS./bin/lib/libavcodec.60.dylib' (no such file), './bin/lib/libavcodec.60.dylib' (no such file).

  ERROR: Can't open GDExtension dynamic library: 'res://addons/gde_gozen/gozen.gdextension'.

  ERROR: res://addons/gde_gozen/video_playback.gd:36 - Parse Error: Could not find type "GoZenVideo" in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:133 - Parse Error: Could not find type "GoZenVideo" in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:141 - Parse Error: Could not find type "GoZenVideo" in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:119 - Parse Error: Identifier "GoZenVideo" not declared in the current scope.

  ERROR: res://addons/gde_gozen/video_playback.gd:379 - Parse Error: Identifier "GoZenAudio" not declared in the current scope.

  ERROR: modules/gdscript/gdscript.cpp:3022 - Failed to load script "res://addons/gde_gozen/video_playback.gd" with error "Parse error".

  ERROR: Can't open dynamic library: /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib. Error: dlopen(/Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib, 0x0002): Library not loaded: ./bin/lib/libavcodec.60.dylib

  ERROR:   Referenced from: <3A52ED05-1418-35B4-AB3C-A4C92852ACB3> /Users/user_name/The_Endless_Race_For_Space_V1_60/addons/gde_gozen/bin/macos_arm64/debug/libgozen.macos.template_debug.arm64.dylib

  ERROR:   Reason: tried: './bin/lib/libavcodec.60.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS./bin/lib/libavcodec.60.dylib' (no such file), './bin/lib/libavcodec.60.dylib' (no such file).

  ERROR: Can't open GDExtension dynamic library: 'res://addons/gde_gozen/gozen.gdextension'.

Can you try version 7.1, that one has some fixes for MacOS. I’ll be asking the person who has worked on the MacOS build to see if there’s anything which needs changing.

About the files being from a third party, that’s an Apple thing and is one of the downsides for me not having an Apple machine. It’s something I’ll look more into at a later point.

If you still have issues with the MacOS build in version 7.2 (which will come out in the next few hours), try installing aom with brew to see if this fixes the issue. If it does I’ll look into building statically for MacOS or to include the aom.dylib file with the builds.