[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: newbie doubt with gtktutorial
- From: "Jim George" <jimgeorge gmail com>
- To: "dev new" <devnew gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: newbie doubt with gtktutorial
- Date: Sun, 20 Jan 2008 00:54:00 -0700
On Jan 20, 2008 12:35 AM, dev new <devnew gmail com> wrote:
> hi
> i am trying out the gtk tutorial with gcc (cygwin on winXP) and wanted
> to run the first example in gtktutorial (to show blank window)..i
> copied the code and compiled it with
> gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
>
> using the backticks( ` ) works in cygwin shell (but not in DOS)
> anyway compilation gave a base.exe in my code folder,
> when i try to run it it asks for some dlls (mostly starting cygX*.dll )
> so i copied these dlls to the code directory and again tried to run it in DOS
> then base.exe tries to access the internet and then exits without
> opening a window
> it gives an error likw
> (base:2664): Gtk-WARNING **: cannot open display:
You need to run this from a cygwin shell, since that's what provides
the X display. If you want a native Win32 binary, you need to use the
native Win32 port of GTK with gcc (mingw) or Visual C++.
-Jim
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]