delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.1 required=5.0 tests=AWL,BAYES_20,SARE_RECV_FREESERVE |
X-Spam-Check-By: | sourceware.org |
From: | "Richard Dickinson" <richard AT dickinson350 DOT freeserve DOT co DOT uk> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Gtk+ & cygwin problem |
Date: | Wed, 20 Jan 2010 22:36:37 -0000 |
Message-ID: | <A5A0DBC245144DC0986FC0878A49BE86@DadPC> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 AT 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 AT Dad-PC ~ $ gtk-demo (gtk-demo:6380): Gtk-WARNING **: cannot open display: Or Dad AT Dad-PC /cygdrive/c/Program Files/gtkmm/gtkmm-demo $ gtk-demo (gtk-demo:1052): Gtk-WARNING **: cannot open display: Dad AT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |