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" To: Subject: Gtk+ & cygwin problem Date: Wed, 20 Jan 2010 22:36:37 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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