mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
426 stars 141 forks source link

DllNotFoundException on Application.Init for dotnet core package on MacOS X #227

Closed myrup closed 6 years ago

myrup commented 6 years ago

Hey.

I'm running dotnet core 2.1 preview 1. After adding the latest gtk-sharp nuget, the application fails with a DllNotFoundException on Application.Init(). Is the package not expected to be self-contained and include the necessary dependencies? If not, I am missing information on what to install on MacOSX ?

The same app runs out of the box on Raspbian :)

hbons commented 6 years ago

Are you building it from source? You'll need to install the Xamarin.Mac extension from the Extensions window in Visual/Xamarin Studio.

myrup commented 6 years ago

Building what from source? All I did was add the nuget package. I have the Xamarin.Mac extension installed.

myrup commented 6 years ago

Any ideas? I would expect the nuget to contain dependencies (or at least warn if other actions are needed).

I ran brew install gtk+, but still no luck :/

myrup commented 6 years ago

I release now this repo is stale and seems replaced by https://github.com/GtkSharp/GtkSharp . Closing.