Re: get cross-compiler to work / make selfcontaining GTK-package



>(sim.exe:4294686437): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_obj
>> ect_ref): assertion `G_IS_OBJECT (object)' failed
>>
>> ** (sim.exe:4294686437): CRITICAL **: file pango-engine.c: line 68 (_pango_engin
>> e_shape_shape): assertion `PANGO_IS_FONT (font)' failed


>Your executable created just fine.  The problem is that you need a gtk
>environment to run it in.  For example, a windows user would need to
>install a gtk runtime package (say the one the the gimp uses), and then
>run your exe with the "Run in" path set to be the bin directory of the
>gtk runtime.

>Michael


Indeed,

installing the packages in Windows and moving the executable to /bin did the trick. Everything worked fine, thanks.

Leaves me with one question:

Is there a proper way to destillate the dll-s and other files the executable needs for functioning? This way I can add those files into a 'small' selfcontaining package, and send it to people who can use my program, without them having to install the gtk environment.

I understand that this way is not very pratical if more executable 'packages' are installed, because then a complete gtk runtime is 'smaller' but I belief for some programs of mine this is the right choice.

Greetings, Edward




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]