Gtk+ & cygwin problem
Richard Dickinson
richard@dickinson350.freeserve.co.uk
Wed Jan 20 23:04:00 GMT 2010
Hi
I am trying to compile & run gtk+ code/apps on my Vista computer with ho
success so far.
I have compiled a gtk+ c code simple helloworld app(exe) but it won't
run-here is the error:
Dad@Dad-PC
/cygdrive/c/RPD_Programming/RPD_Gtk+Gimp_toolkit/Gtk+_www.gtk.org_tut
orial/Gtk+_tutorial_www.gtk.org/base_gtk
$ ./base
Gtk-WARNING **: cannot open display:
Neither does the gtk-demo run & trying to run this I get such errors
Dad@Dad-PC ~
$ gtk-demo
(gtk-demo:6380): Gtk-WARNING **: cannot open display:
Or
Dad@Dad-PC /cygdrive/c/Program Files/gtkmm/gtkmm-demo
$ gtk-demo
(gtk-demo:1052): Gtk-WARNING **: cannot open display:
Dad@Dad-PC /cygdrive/c/Program Files/gtkmm/gtkmm-demo
$ gtk-demo.exe
(gtk-demo:6596): Gtk-WARNING **: cannot open display:
I am pretty sure I have all cygwin gtk+ packages installed via cygwin set-up
And on my Vista machine I have gtkmm for Windows setup from which I can run
Gtk-demo from my Vista cmd prompt (but cannot compile gtk+ code with from
Vista cmd
prompt as I get 'access denied' error message?!). I have cygwin/bin in my
path & gtkmm/bin also.
I am grateful if anyone can help me solve this so I can compile & run gtk+
in cygwin.
I look forward to helpful replies, thanks
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list