Re: Glib::spawn on Windows



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.

> I install gtk and gtkmm from this two links:
> http://ufpr.dl.sourceforge.net/sourceforge/gladewin32/gtk-2.12.9-win32-2.exe
> http://ftp.acc.umu.se/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-runtime-2.10.11-1.exe
> 
> Thanks again,
> Paulo Flabiano Smorigo

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]