DYLD_LIBRARY_PATH equivilant for Windows?
Unsolved
General and Desktop
-
wrote on 22 Apr 2019, 18:27 last edited by
I'm trying to find some DLLs my program needs to run. I can set DYLD_LIBRARY_PATH to find my libraries on Mac, but that doesn't seem to work with Windows. So far, the only way I've found to get my program to run is the copy the DLLs into the debug directory.
-
I'm trying to find some DLLs my program needs to run. I can set DYLD_LIBRARY_PATH to find my libraries on Mac, but that doesn't seem to work with Windows. So far, the only way I've found to get my program to run is the copy the DLLs into the debug directory.
@kitfox On Windows, the normal
PATH
is searched for DLLs also, plus the current directory (and IIRC some hardcoded likeWindows\system32
)Regards
2/2