简体   繁体   中英

SDL and haskell problem in windows

I asked before what libraries to use in haskell to program a game, and got quite nice answers that got me in the right direction. But i cant seem to solve a problem related to sdl binding. I've been following this tutorial a haskell adventure in windows (the installation part) to make a simple sample works . The problem comes when i try to run the example, i keep getting this error message from console when running ghci myExample.hs:

Loading package SDL-0.6.2 ... <interactive>: SDLmain: Cannot find specified module .
Can't load .so/.DLL for: SDLmain (addDLL: could not load DLL)

I have looked in many web pages and the solution or some help does not seem to appear.

Has this happend to annyone?

我想你需要

ghci MyExample.hs -l SDLmain

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM