delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/09/23:24:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42589D2C.1CEEBB38@dessent.net>
Date: Sat, 09 Apr 2005 20:27:40 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: cygwin-xfree AT cygwin DOT com
Subject: Re: GTK+, CYGWIN & MSW
References: <BAY24-F259856D2D8A44DED2DFB5A6310 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Jamiil Abdullah-Alkadir wrote:

> I have finally got an application to compile under cygwin, but to run it I
> have to launch the X server, 'startx' to be able to run the program under
> cygwin. However, I am not able to run the program form windows, I have added
> the 'cygwin.dll' and 'cygX11-6.dll' directories to the 'autoexec.bat'
> '%path%'. the program just does not run. What can I do to get this fixed?

What precisely do you mean by "I am not able to run the program from
windows"?  How are you trying to run it, clicking on its .exe icon? 
What happens?  Do you get an error or any kind of message?  You haven't
given enough information about the problem you're having.

I doubt you'll ever be able to just click on the .exe and have it work. 
X11 applications require an X server, so the minimal amount that would
be required would be a .bat file (or a .sh file or a .cmd file or a
launcher program or ...) that launches the X server with the correct
options and then runs the program.

Also, this is more appropriate for the cygwin-xfree list if this is an
X11 program.  Please send replies there.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019