Open
Description
I bumped into this with several versions of GHC using Cabal and Stack in my CI.
Enum_hsc_make.exe failed while builing SDL2 on Windows because it can't find a DLL.
...
Starting sdl2-2.5.3.0 (lib)
Building sdl2-2.5.3.0 (lib)
Failed to build sdl2-2.5.3.0.
Build log (
cabal.exe: Failed to build sdl2-2.5.3.0. See the build log above for details.
C:\Users\runneradmin\AppData\Roaming\cabal\logs\ghc-8.10.1\sdl2-2.5.3.0-d521d69f91f87fa520a492e550c7b38e1d878d56.log
):
Preprocessing library for sdl2-2.5.3.0..
running dist\build\SDL\Raw\Enum_hsc_make.exe failed (exit code -1073741515)
rsp file was: "dist\\build\\SDL\\Raw\\hsc4E94.rsp"
output file:"dist\\build\\SDL\\Raw\\Enum.hs"
command was: dist\build\SDL\Raw\Enum_hsc_make.exe >dist\build\SDL\Raw\Enum.hs
error:
-1073741515
is STATUS_DLL_NOT_FOUND
and this was caused because SDL2.dll
wasn't in PATH
.
Solving this wasn't a big deal, but it is quite surprising that SDL2.dll is required at build time!
Metadata
Metadata
Assignees
Labels
No labels