This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: help on running c program on cygwin


On Wed, 14 Nov 2001, Lily Tsai wrote:

> Date: Wed, 14 Nov 2001 20:26:23 -0400 (EDT)
> From: Lily Tsai <oneray@rupture.net>
> To: cygwin@cygwin.com
> Subject: help on running c program on cygwin
> 
> 
> I just installed Cygwin on XP and tried running a simple helloworld in c.
> After a good compilation using gcc, I get nothing when trying to run the
> outputfile.
> 
> $gcc helloworld.c -o helloworld.exe
> 
> $helloworld.exe
> 
> 
> nothing.
> 
> When I double-click on the helloworld.exe icon on Windows Explorer, I get
> an error prompt:
> 
> "This application has failed to start because cygwin1.dll was not found.
> Re-installing the application may fix this problem."
> 
> 
> So, I re-installed and nothing changed.
> 
> Can you help?
> 

You must add at least the cygwin/bin directory to your windows 
path. Try to start the program from inside cygwin (the  shell). 

> Thanks in advance,
> Lily
> 
> 
> 
> --
> 
> -*-*-*-Lily Tsai-*-*-*-
> oneray@rupture.net
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 

###############################################
#         mail:  Matthias Buchmeier           #
#                IFF-IEE                      #
#                Forschungszentrum Juelich    #
#                52425 Juelich                #
#                Germany                      #
#                                             #
#           tel: +49 (0)2461 61 4273          #
#           fax:                4443          #
#         email: m.buchmeier@fz-juelich.de    #
###############################################


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]