Re: Glib::spawn on Windows



Thanks Armin!!
I extract the glib and now works...

Thanks a lot...
Paulo Flabiano Smorigo


On Wed, Aug 27, 2008 at 06:18, Armin Burgmeier <armin arbur net> wrote:
On Tue, 2008-08-26 at 11:26 -0300, Paulo Flabiano Smorigo wrote:
> Hi Armin,
>
> Thanks for the reply. To execute my application on Windows I just
> installed gtk and gtk runtime.
>
> Where is this gspawn-win32-helper? Where do I find the installer?

I had a look at that installer, and it seems to install
gspawn-win32-helper.exe, but not gspawn-win32-helper-console.exe. I
don't know exactly which one glib uses in which case, but you could try
adding the latter from
ftp://ftp.gnome.org/pub/GNOME/binaries/win32/glib/2.16/glib-2.16.5.zip
to the same place where your glib DLL is.
Armin

> On Tue, Aug 26, 2008 at 11:11, Armin Burgmeier <armin arbur net>
> wrote:
>
>         On Tue, 2008-08-26 at 10:30 -0300, Paulo Flabiano Smorigo
>         wrote:
>         > Hi everybody,
>         >
>         > I'm trying to execute a program in my application using the
>         Glib
>         > Spawning Proccess library.
>         > On linux works perfect but on windows I get a "No such file
>         or
>         > directory" error.
>         >
>         > The command is:
>         > Glib::spawn_command_line_async("c:\\windows\\NOTEPAD.EXE");
>         >
>         > And the error on Windows is:
>         > (player.exe:1568): glibmm-CRITICAL **:
>         > unhandled exception (type Glib::Error) in signal handler:
>         > domain: g-exec-error-quark
>         > code  : 19
>         > what  : Failed on execute an auxiliary program (No such file
>         or
>         > directory)
>
>
>         Asynchronous spawning needs a helper program on Windows,
>         called
>         gspawn-win32-helper.exe. This is not found on your system.
>         Where did you
>         install glib from? It should be included in the official glib
>         binary
>         packages from ftp.gnome.org.
>
>         > Thanks in advance...
>         > P.F.Smorigo
>
>
>         Armin
>
>         > _______________________________________________
>         > gtkmm-list mailing list
>         > gtkmm-list gnome org
>         > http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
>




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