[Gtk-sharp-list] A Gtk Graph control... where?

Rafael Teixeira monoman at gmail.com
Fri Feb 23 08:23:42 EST 2007


Hi Toño,

Assuming you aren't in windows, looks like the gdk-sharp.dll.config
files aren't in the proper places, so it is trying to run against
windows libs instead of being redirected to the linux .so
corresponding files.  Did you copy just the gtk-sharp dlls to your
project dir?

Use the -pkg: option of mcs to correctly reference the properly
installed global copy of gtk-sharp libs.

Fun,

On 2/23/07, Toño <ikaparamono at gmail.com> wrote:
> El mié, 21-02-2007 a las 22:19 +0100, Jacob Ilsø Christensen escribió:
> > On 2/21/07, Toño <ikaparamono at gmail.com> wrote:
> > > Hi,
> > > I need a control to draw a graph for my program.
> > > I have tried NPlot with no success. Do anyone know any graph control for
> > > gtk+mono???
> >
> > What do you mean by no success? NPlot works fine with gtk# and mono.
> >
> > /Jacob
> >
> > >
> > > thanks
> > >
> > > regards
> > >
> > > _______________________________________________
> > > Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> > >
>
> Well... I compile the NPlot with "make". Ok, it works like a charm.
> But now, I set the created dlls in my references list. But I always get
> the same error:
>
> Unhandled Exception: System.DllNotFoundException: libgdk-win32-2.0-0.dll
>   at (wrapper managed-to-native)
> Gdk.Graphics:gdk_x11_drawable_get_xdisplay (intptr)
>   at Gdk.Graphics.FromDrawable (Gdk.Drawable drawable) [0x00000]
>   at NPlot.Gtk.PlotSurface2D.OnExposeEvent (Gdk.EventExpose args)
> [0x00000]
>   at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000]
>   at (wrapper native-to-managed) Gtk.Widget:exposeevent_cb
> (intptr,intptr)
>   at <0x00000> <unknown method>
>   at (wrapper managed-to-native) Gtk.Application:gtk_main ()
>   at Gtk.Application.Run () [0x00000]
>
> It's weird because I can run the examples (mf.exe and test.exe) with no
> problem.
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Gtk-sharp-list mailing list