delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/14:07:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 20 Feb 2004 14:06:37 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: vemuri AT helixgenomics DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin1.dll not found..
In-Reply-To: <.220.226.55.238.1077302351.squirrel@www.helixgenomics.com>
Message-ID: <Pine.GSO.4.56.0402201402410.16128@slinky.cs.nyu.edu>
References: <.220 DOT 226 DOT 55 DOT 238 DOT 1077302351 DOT squirrel AT www DOT helixgenomics DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 20 Feb 2004 vemuri<at>helixgenomics<dot>com wrote:

> Dear all,
>       I downloaded cygwin and installed on XP professional.
> I wrote a small c program to print my name.
>
> when run it from the cygwin console, the program is running.
>
> when I run the same executable from outside cygwin, it is giving the
> following error:
>
> ***************************************************************************
> abc.exe - unable to locate component
>
> This application has failed to start because cygwin1.dll was not found.
> Re-installing the application may fix this problem.
> ***************************************************************************
>
> I checked and found that cygwin1.dll is very well there in /bin/cygwin1.dll.
>
> Can any body suggest how to over come this problem.
> Thank you in anticipation. I am using the recent downloads available.
>
> waiting for your suggestions.
> Prasad.

Cygwin's /bin should be in your PATH when you run any Cygwin program.  If
you want to run Cygwin programs from outside of the Cygwin environment
(i.e., from a command prompt or a batch file), make sure your Windows
system PATH contains c:\cygwin\bin (appropriately modified if you didn't
install Cygwin into c:\cygwin).  It's a matter of debate on whether this
directory should precede the Windows system directories or follow them --
this heavily depends on whether you use the Windows tools from your
command line or batch files...  Personally, I tack on c:\cygwin\bin to the
end of the Windows PATH, and use the command prompt as little as possible. :-)
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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