[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Problem about create gtk program on Windows
- From: Vincent Geddes <vincent geddes gmail com>
- To: Kun Niu <haoniukun gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Problem about create gtk program on Windows
- Date: Sat, 31 Mar 2007 16:17:13 +0200
Hello Kun Niu
On Sat, 2007-03-31 at 20:35 +0800, Kun Niu wrote:
> Dear all,
>
> I'm new in gtk field on Win32 platform,
> But I've got the following problem
> I successfully created a gtk program and it runs well.
> But each time I run the command, a black command line window appear on my
> screen.
> Can I disable the black command window?
> If so, how to?
>
You need to mark your executable as a win32 GUI application.
If you are using mingw, the linker flag "-mwindows" will do that. Pass
it like this:
LDFLAGS="-mwindows" ./configure
Here's some more information about this win32 peculiarity:
http://mail.gnome.org/archives/gtk-app-devel-list/2006-December/msg00069.html
- Vincent
> Sorry to trouble.
> Any help would be appreciated and thanks in advance.
>
> Sincerely,
> Kun
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]