[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: cygwin & gtk
- From: Andreas Volz <andreas brachttal net>
- To: gtk-app-devel-list gnome org <gtk-app-devel-list gnome org>
- Subject: Re: cygwin & gtk
- Date: Tue, 4 Feb 2003 15:12:26 +0000
Am Tue, 4 Feb 2003 15:33:14 +0300 (MSK)
Sergey Zhitomirsky <szh@dgap-gw.mipt.ru> schrieb:
> Hello
> Can somebody help me
> I'm unable to run even the following small Gtk program under cygwin
>
> #include <gtk/gtk.h>
> int main (int argc, char *argv[])
> {
> gtk_init(&argc, &argv);
> // gtk_main();
> return 1;
> }
>
> It compiles & links well
> gcc m.c -o m `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`
>
> but when I try to run it I always receive:
>
> 5 [unknown (0x164)] ? 636 cygheap_fixup_in_child: Couldn't reserve space
> for cygwin's heap (0x615C0000 <0xAA0000>) in child, Win32 error 487
> E:\cygwin\home\m.exe: *** m.AllocationBase 0x0, m.BaseAddress 0x615C0000,
> m.RegionSize 0x80000, m.State 0x10000
>
> Am I doing something wrong ?
Why do you use cygwin for compiling a gtk2-app with windows? You could compile a "normal" windows gtk2-app without cygwin. I use Dev-C++ to do this.
regards
Andreas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]