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 pack开发者_如何学运维age 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?
I think you need
ghci MyExample.hs -l SDLmain
精彩评论