We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
-1073741515
STATUS_DLL_NOT_FOUND
SDL2.dll
PATH
Solving this wasn't a big deal, but it is quite surprising that SDL2.dll is required at build time!
The text was updated successfully, but these errors were encountered:
Windows magic?
Sorry, something went wrong.
I get the same issue. For future reference:
SDL\Raw\Enum_hsc_make.exe failed (exit code -1073741819)
In my case placing SDL2.dll in the same folder as my ghc binary fixed things.
No branches or pull requests
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.
-1073741515
isSTATUS_DLL_NOT_FOUND
and this was caused becauseSDL2.dll
wasn't inPATH
.Solving this wasn't a big deal, but it is quite surprising that SDL2.dll is required at build time!
The text was updated successfully, but these errors were encountered: