Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix libgtk-3.0.dylib not found even when MacPorts gtk3 is installed #436

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

diogob003
Copy link

Fix libgtk-3.0.dylib not found even when MacPorts gtk3 is installed.

Unhandled exception. System.TypeInitializationException: The type initializer for 'Gtk.Application' threw an exception.
 ---> System.DllNotFoundException: Gtk: libgtk-3-0.dll, libgtk-3.so.0, libgtk-3.0.dylib, gtk-3.dll
   at GLibrary.Load(Library library)
   at Gtk.Application..cctor()
   --- End of inner exception stack trace ---
   at Gtk.Application.Init()
   at gtkSharp.Program.Main(String[] args)

It solves my problem of having to use MacPorts instead of Brew :) due to compatibility.
Improve #1 MacOS support.
Most likely fixes issues #78 and #249.

@lytico
Copy link
Member

lytico commented May 27, 2024

thanks for contributing!

but, please, one change: make an extra PR for Tools .csproj: use $(_GtkSharpNetVersion)

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

Successfully merging this pull request may close these issues.

2 participants