I compiled a .cpp program using cygwin in net beans IDE. I am able to run the executable on my machine, but for some reason it won't run on another machine.
I also compiled using "Release" mode.
I am not sure what the problem is. Why won't it run on another machine? Does the other machine need cygwin also?
You need to distribute or make available the "cygwin1.dll" with your application.
(I am not sure it is legal for you to distribute it... You should go over to the Cygwin site and poke around.) http://www.cygwin.com/