I compiled and build source code files using the cygwin and gcc and everything went ok , i got the .exe file when i run the file from cygwin like this :
it runs without problem
but when i try to run it from windows , at first i got the following :
The code execution cannot proceed because cygwin1.dll was not found
so i download and added the cygwin1.dll to the program directory and then i got the following message :
The application was unable to start correctly (0xc000007b).
i also tried the 32bit version of cygwin1.dll and i got this :
The procedure entry point uname_x could not be located in the dynamic link library
so i rolled back to the 64bit version ,but of course still the same problem !
again running it from cygwin worked without problem, but running it from windows not workin , so is there anyway i can run the .exe file in windows without problem !?
The CYGWIN environment has a different PATH than the windows one.
Another way would be:
Once you have located your DLL, either copy it to the path of your choosing (in the PATH I would hope).. or add that folder to your PATH environment.
User contributions licensed under CC BY-SA 3.0