c++ - cygwin1 dll when opening exe -
i created program using c++ netbeans on computer. exe file open somewhere else. opens fine on computer, tested on computer in school without netbeans or cygwin. after doing research, attempted put cygwin1.dll file in same directory exe breaks exe on computer.
what best way this, computer? here options have far:
1. install cygwin.dll file on system 32 2. change variable path (not sure path is, find out) some options want avoid:
1. installing netbeans or cygwin extra notes: issue have opening compiled .exe file computer computers using windows
links have looked @ http://www.dll-files.com/dllindex/dll-files.shtml?cygwin1 http://pcsupport.about.com/od/findbyerrormessage/a/cygwin1-dll-not-found-missing-error.htm
unfortunately executable search cygwin.dll name renaming not work. also, putting stuff in system32 bad idea security reasons (you don't want update school's department) , it's possible mess machine playing around in folder. changing path ok but, again, permanence of change means should shy away it.
if you, i'd create .bat file, myapp.bat has lines
set path=%path%;<location> <myapp> where <location> location of cygwin.dll , <myapp> full path executable (including file name). double click on batch file. first line in file updates path appending location of dll in way pertinent particular session. make sense?
Comments
Post a Comment