GLibSharp / GtkSharp

.Net bindings for gtk+3 and above
Other
28 stars 21 forks source link

error on builting #26

Closed sonnenschein123 closed 6 years ago

sonnenschein123 commented 6 years ago

Hey, when I try to build GtkSharp with meson build/ I always get the following error message: Native dependency gdk-3.0 found: NO found '3.18.9' but need: '>=3.22.0' Dependency gdk-3.0 found: NO Message: Gdk not found, not building Native dependency gtk+-3.0 found: NO found '3.18.9' but need: '>=3.22.0' Dependency gtk+-3.0 found: NO Message: Gtk not found, not building How can I install the dependent version?? Best!

thiblahute commented 6 years ago

You need to install Gtk 3.22 but currently you have 3.18 installed, what distribution is that?

On Sun, Oct 8, 2017 at 12:58 PM, sonnenschein123 notifications@github.com wrote:

Hey, when I try to build GtkSharp with meson build/ I always get the following error message: Native dependency gdk-3.0 found: NO found '3.18.9' but need: '>=3.22.0' Dependency gdk-3.0 found: NO Message: Gdk not found, not building Native dependency gtk+-3.0 found: NO found '3.18.9' but need: '>=3.22.0' Dependency gtk+-3.0 found: NO Message: Gtk not found, not building How can I install the dependent version?? Best!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GLibSharp/GtkSharp/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFGYbbX8EEK8M9g7bFxvZFBGAsoGJAMks5sqKrdgaJpZM4Pxqpj .

sonnenschein123 commented 6 years ago

I have an Ubuntu 16.04.

GusBricker commented 6 years ago

@sonnenschein123 As far as I know, we aren't producing any usable packages yet. So if you are trying to actually use the library in a project, then you may be a little early.

However if you are trying to build for dev work, then you can download Docker and use the dbuild.sh script which will automatically bring in the correct dependancies and build your working copy.

thiblahute commented 6 years ago

You need gtk >= 3.22, and on 16.04 gtk is currently 3.18 only https://launchpad.net/ubuntu/xenial/+source/gtk+3.0

sonnenschein123 commented 6 years ago

Hey, thanks a lot for your support. I updated my Ubuntu to the current version and now I can install the required version.