Problem Running EXE using Compiled with Cygwin

Hi all,

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?

Thanks..
Learn to use Depedency Walker to see what DLLs needs your executable and distribute them with the exe.
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/

Good luck!
Thanks all!

I wonder if netbeans has a setting to automatically detect and include the needed DLLs in the distributable folder.
Topic archived. No new replies allowed.