I tried installing SDL 1.2.14 on mingw but when I downloaded the development package like I read in the tutorial there was no “./configure”, all I could do is “make”. Not even “make install”.
When I tried to compile a simple script, it couldn’t find the “SDL/SDL.h” file.
I am also not sure if it even works properly since I couldn’t configure and make install it.
if you download the development library package for mingw SDL-devel-1.2.14-mingw32.tar.gz then you need to extract it and put into the mingw folder structure where it fits (I haven’t used mingw for some years now). If you are using msys (which you should if you want to use configure stuff) the content of SDL-devel-1.2.14-mingw32.tar.gz just needs to go into c:\msys (I think).
I’m an avid mingw32/msys user - just follow the linux building-from-source
instructions, and it should work just fine
$ ./configure
$ make
$ make install
-AlexOn Wed, Nov 16, 2011 at 2:39 AM, Dominus wrote:
if you download the development library package for mingw
SDL-devel-1.2.14-mingw32.tar.gz then you need to extract it and put into
the mingw folder structure where it fits (I haven’t used mingw for some
years now). If you are using msys (which you should if you want to use
configure stuff) the content of SDL-devel-1.2.14-mingw32.tar.gz just needs
to go into c:\msys (I think).
It’s actually not strange at all, you just didn’t fine read everything
The development library package is a pre compiled package that just needs to be placed into mingw/msys. Hence no configure, everything is already compiled.
The source is for compiling.
As for your error, look into configure.log, it’s often more forthcoming on what the error is, or in which line of configure the error happened (and the line gives a better clue, too).
Do orher things compile via configure/make? Is your msys installation up to date and working?