Sign up

Gtk could not be resolved on MonoDevelop

Hi, (sorry for my english ^^, i'm french)

I try install GtkD with this method : https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows

But i have multiple error of build on MonoDevelop(Xamarin studio)

  • gtk.Builder could not be resolved
  • gtk.Button could not be resolved
  • gtk.Main could not be resolved
  • gtk.MainWindow could not be resolved
  • gtk.Widget could not be resolved
  • gtk.Window could not be resolved

I have installed Gtk+ Runtime 3.8 (32 bits) and Gtk+ Runtime 3.8 (64 bits) and DMD 2

I need your help :'(

Quentin

Re: Gtk could not be resolved on MonoDevelop

On Wed, 07 Aug 2013 07:34:50 GMT, Quentin J. wrote:

Hi, (sorry for my english ^^, i'm french)

I try install GtkD with this method : https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows

But i have multiple error of build on MonoDevelop(Xamarin studio)

  • gtk.Builder could not be resolved
  • gtk.Button could not be resolved
  • gtk.Main could not be resolved
  • gtk.MainWindow could not be resolved
  • gtk.Widget could not be resolved
  • gtk.Window could not be resolved

I have installed Gtk+ Runtime 3.8 (32 bits) and Gtk+ Runtime 3.8 (64 bits) and DMD 2

I need your help :'(

Quentin

Did you add the source location to the Project?

Right click on the Project > Build > Includes.

Or add the include globally (Because of performance reasons you might not want to do this):

Edit > Preferences > Environment > D > Compiles toolchains > Includes.

Re: Gtk could not be resolved on MonoDevelop

On Wed, 07 Aug 2013 21:11:01 GMT, Mike Wey wrote:

On Wed, 07 Aug 2013 07:34:50 GMT, Quentin J. wrote:

Hi, (sorry for my english ^^, i'm french)

I try install GtkD with this method : https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows

But i have multiple error of build on MonoDevelop(Xamarin studio)

  • gtk.Builder could not be resolved
  • gtk.Button could not be resolved
  • gtk.Main could not be resolved
  • gtk.MainWindow could not be resolved
  • gtk.Widget could not be resolved
  • gtk.Window could not be resolved

I have installed Gtk+ Runtime 3.8 (32 bits) and Gtk+ Runtime 3.8 (64 bits) and DMD 2

I need your help :'(

Quentin

Did you add the source location to the Project?

Right click on the Project > Build > Includes.

Or add the include globally (Because of performance reasons you might not want to do this):

Edit > Preferences > Environment > D > Compiles toolchains > Includes.

Hi, thank you for your help but i have already include the location of gtk in my project watch this :

http://img4.hostingpics.net/pics/413121Capturedcran37.png

And my problem has not gone away :x

Re: Gtk could not be resolved on MonoDevelop

On 08/11/2013 07:25 PM, quentin joseph wrote:

PS: Did you mean to E-mail me directly instead of posting to the group,
or was it by accident?

You have send this message on my email no ? because i don't see your
message on the topic ^^, then i send this message to your email.

I probably hit the wrong button in Thunderbird, i'll also post this in
the newsgroup.

MonoDevelop need Gtk# .Net for running, in my path i have :
C:\Program Files (x86)\Gtk-Runtime\bin;C:\Program Files\Gtk-Runtime\bin;C:\Program Files (x86)\GtkSharp\2.12\bin

Looks good to me.

I do not have a message box but i have an access violation in my cmd if
i have not launched my executable in administrator mode ^^, but if i run
it in administrator mode my glade form is running perfectly :).

It would be interesting to know whats causing the access violations, you
should be able to run a GtkD app as a regular user.

Thank you for your help.

Do you want me to post this solution on the topic or would you post this
solution on the topic with a good english syntax^^ ?

Thank you so much :), Quentin.

Date: Sat, 10 Aug 2013 23:19:43 +0200
From: Mike Wey
To: Quentin J.
Subject: Re: Gtk could not be resolved on MonoDevelop

From the error it Does look like a 32 vs 64 bits problem, even though
installing the 32 and 64 bits versions of Gtk+ doesn't give me any
problems on my machine.

Also Monodevelop usualy installs a copy of an older version of Gtk+
witch might cause some errors, The paths of the Gtk+ 3.x installs
should
appear on the $PATH before the path of Gtk+ 2.x copy installed with
monodevelop.

PS: Did you mean to E-mail me directly instead of posting to the group,
or was it by accident?

On 08/10/2013 04:39 PM, quentin joseph wrote:

Okay, thank you guy sorry not to have answered earlier this
message has
been moved to my unwanted letter box :x

MonoDevelop has compiled my project but i have 1 error :

  • In my cmd : access denied
  • In message box : the file image "..\Gtk-Runtime\bin\libgtk->
    3-0.dll is
    not valid, but he match with other type of computer that this one.

It is because i have installed Gtk-runtime for 32 and 64 bits ?

Anyway thank for your help :)

Date: Thu, 8 Aug 2013 22:25:14 +0200
From: Mike Wey
To: Quentin J.
Subject: Re: Gtk could not be resolved on MonoDevelop

On 08/08/2013 09:08 PM, Quentin J. wrote:

Hi, thank you for your help but i have already include the
location
of gtk in my project watch this :

http://img4.hostingpics.net/pics/413121Capturedcran37.png

And my problem has not gone away :x

Try adding the gtkd library to:

Right click on the Project > Build > Compiling > Libraries.

Mike Wey

Mike Wey