install trouble with SDL on win32+cygwin

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 checking for sdl11-config... no configure: error: *** SDL not found! Get SDL from www.libsdl.org. If you already installed it, check it's in the path. If problem remains, please send a mail to the address that appears in ./configure --version indicating your platform, the version of configure script and the problem. cabal.exe: Error: some packages failed to install: SDL-0.5.3 failed during the configure step. The exception was: exit: ExitFailure 1 bash-3.2$ which SDL.dll /cygdrive/c/WINDOWS/system32/SDL.dll bash-3.2$

On Apr 11, 2008, at 8:37 PM, Conal Elliott wrote:
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
I think this has been a known (neglected?) issue for quite some time. That's why I am not using SDL right now. :( — Jake

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

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
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

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/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

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
participants (4)
-
Bit Connor
-
Conal Elliott
-
Jake Mcarthur
-
Luke Palmer