public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: Gtk+ & cygwin problem
[not found] <A5A0DBC245144DC0986FC0878A49BE86@DadPC>
@ 2010-01-21 0:49 ` Yaakov (Cygwin/X)
0 siblings, 0 replies; only message in thread
From: Yaakov (Cygwin/X) @ 2010-01-21 0:49 UTC (permalink / raw)
To: cygwin-xfree; +Cc: cygwin
On 20/01/2010 16:36, Richard Dickinson wrote:
> Gtk-WARNING **: cannot open display:
Some googling would have shown you what this means. You need to be
running an X server and set the DISPLAY variable in order to use GTK+
(or any other X11 GUI).
This being a Cygwin/X question, it really belongs on the Cygwin/X list;
redirecting accordingly.
> And on my Vista machine I have gtkmm for Windows setup from which I can run
> Gtk-demo from my Vista cmd prompt
GTKmm for Windows is just that -- for WINDOWS. Cygwin's GTK+ is a
*NIX/X11 version and needs a Cygwin-built GTKmm, which is available from
Cygwin Ports.
> (but cannot compile gtk+ code with from Vista cmd
> prompt as I get 'access denied' error message?!).
'/usr/bin/gcc' is a symlink, which Windows itself doesn't understand.
Cygwin commands are generally meant to be run from a Cygwin environment
(in this case, bash, or another shell of your choice).
> I have cygwin/bin in my path& gtkmm/bin also.
This is asking for problems. You're better off keeping extra Win32
components out of your Cygwin PATH.
Yaakov
Cygwin/X
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-21 0:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <A5A0DBC245144DC0986FC0878A49BE86@DadPC>
2010-01-21 0:49 ` Gtk+ & cygwin problem Yaakov (Cygwin/X)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).