So I’m trying to run my first hello world prog written in C. I compiled it in eclipse and get no errors, but when I try to run it I get:
‘This application has failed to start because cygwin1.dll was not found.’
I found this post which seems to indicate I should add it to Windows PATH, and I used this to do that. So now ‘Path’ in my environment variables has ‘;C:\cygwin\bin\cygwin1.dll’ appended to the end. Still no worky. Anyone have a clue what I might be doing wrong? My ‘program’ just looks like this:
#include <stdio.h> main() { printf('hello, world\n'); }
The PATH environment variable needs to include the directory containing cygwin1.dll, not the path to cygwin1.dll itself. So just make sure that PATH has the string
'C:\cygwin\bin'in it.