
Thanks very much for the pointer, Bit.
I had to add "\SDL" to the end of this def:
Include-Dirs: C:\SDL-1.2.12\include
and I didn't need to change the Extra-Libraries line. I'm using cygwin,
which may make a difference here.
Next, I 'cabal install'ed SDL-ttf and discovered that I need the SDL_ttf
lib, which I got, but I don't know where to unpack it so that the (Haskell)
SDL-ttf will find it. Suggestions?
- Conal
On Sun, Apr 13, 2008 at 12:11 PM, Bit Connor
SDL works great on Windows, and you don't even need cygwin. Only ghc is required. There are instructions in the WIN32 file.
http://darcs.haskell.org/~lemmih/hsSDL/hssdl/WIN32http://darcs.haskell.org/%7Elemmih/hsSDL/hssdl/WIN32
2008/4/12 Conal Elliott
: Now I have sdl-config, but still not able to build.
Does *anyone* have the SDL package running on Windows?
If not, is GLFW the recommended cross-platform GL toolkit?
Thanks, - Conal
On Fri, Apr 11, 2008 at 8:55 PM, Luke Palmer
wrote: 2008/4/11 Conal Elliott
: I'm trying to install the SDL package (on win32+cygwin), and configure isn't able to find my SDL.dll, though it's on my PATH. Any ideas? - Conal
bash-3.2$ cabal install SDL 'SDL-0.5.3' is cached. [1 of 1] Compiling Main ( Setup.lhs, dist\setup/Main.o ) Linking dist\setup\setup.exe ... Configuring SDL-0.5.3... checking for sdl-config... no
I currently am not running cygwin, so I could be wrong, but the lack of sdl-config is a red flag. Have you installed sdl and sdl-devel (I think those are the package names) with the cygwin installer yet?
Luke
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe