I'd like to build my program in NetBeans so that the released executable includes all dependencies required to run it (for example: it needs cygwin1.dll). I am currently not able to run my executable on another machine without having cygwin1.dll inside the same directory. I don't mind if the executable is a large file.
Is there a setting in NetBeans to automatically detect/allow that? Do I need to set/turn on "static"?
I seems that cygwin1.dll cannot be statically linked.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.