Installing SDL 1.2.11 on mingw

Hi. I’ve been scouring the internet and this mailing list for days looking
for a up to date readme on how to install SDL using wingw. i have all the
latest versions of everything (i double checked that today). i’ve got got
msys and mingw up and running and it does compile and execute c code (tested
it with a simple “hello world”.) I did find this readme on the libsdl
website:

Steps to build SDL natively with the MinGW environment available at:
http://www.mingw.org/

These steps assume that you are comfortable with the UNIX environment.

Step 1. Download the msys package, version 1.0.8 or newer, and install it.
Step 2. Download the latest stable version of the MinGW package.
Step 3. Run the msys shell. Further instructions assume you’re in this shell.
Step 3. Unpack the MinGW package in the /mingw directory.
Step 4. Move /mingw/bin/make.exe to /mingw/bin/mingw32-make.exe as directed.
Step 5. Extract the SDL source into a directory and run:
./configure && make && make install
Step 6. When you’re ready to build SDL applications, copy SDL.dll from
/usr/local/lib to whereever your SDL application source resides.

Step 1-3 i got thru these steps just fine
Step 4: i think with the new version of mingw, you don’t need to do this. i
used the command make and it worked fine without any problems (further more,
there was no make.exe or mingw32-make.exe in said directory)
Step.5: on trying ./configure, i get the error that there is no such file or
directory. i confirmed that there is no configure file. there IS a Makefile,
but when i try make it says:

Type “make native” to install to /usr
Type “make cross” to install to /usr/local/cross-tools/i386-mingw32msvc/

upon make native i get:

make install prefix=/usr
make[1]: Entering directory /temp/SDL-1.2.11' make[1]:install’ is up to date.
make[1]: Leaving directory `/temp/SDL-1.2.11’

What is this actually doing? when i type make install i get:

make: `install’ is up to date.

and when i try install --help i get a big help readme that seems like its
referring to configuring the install. I’m TOTALLY lost on this (obviously i
never got to Step 6.)

i apologize for my horrendous spelling errors, as i am quite dyslexic.
Thanks!

P.S. (i am doing this to port a program i wrote under linux for a christmass
present for my brothers, so a reply before christmas would be awesome!)–
Fear Popo Bawa!!!

Jake Longworth skrev:

Hi. I’ve been scouring the internet and this mailing list for days
looking for a up to date readme on how to install SDL using wingw. i
have all the latest versions of everything (i double checked that
today). i’ve got got msys and mingw up and running and it does compile
and execute c code (tested it with a simple “hello world”.) I did find
this readme on the libsdl website:

Well, there are pre-compiled mingw developement binaries available. Why
can’t you use those?>

Steps to build SDL natively with the MinGW environment available at:
http://www.mingw.org/

These steps assume that you are comfortable with the UNIX environment.

Step 1. Download the msys package, version 1.0.8 or newer, and install it.
Step 2. Download the latest stable version of the MinGW package.
Step 3. Run the msys shell. Further instructions assume you’re in this shell.

Step 3. Unpack the MinGW package in the /mingw directory.
Step 4. Move /mingw/bin/make.exe to /mingw/bin/mingw32-make.exe as directed.
Step 5. Extract the SDL source into a directory and run:
./configure && make && make install

Step 6. When you’re ready to build SDL applications, copy SDL.dll from
/usr/local/lib to whereever your SDL application source resides.

Step 1-3 i got thru these steps just fine
Step 4: i think with the new version of mingw, you don’t need to do
this. i used the command make and it worked fine without any problems
(further more, there was no make.exe or mingw32-make.exe in said directory)
Step.5: on trying ./configure, i get the error that there is no such
file or directory. i confirmed that there is no configure file. there IS
a Makefile, but when i try make it says:

Type “make native” to install to /usr
Type “make cross” to install to /usr/local/cross-tools/i386-mingw32msvc/

upon make native i get:

make install prefix=/usr
make[1]: Entering directory /temp/SDL-1.2.11' make[1]:install’ is up to date.
make[1]: Leaving directory `/temp/SDL-1.2.11’

What is this actually doing? when i type make install i get:

make: `install’ is up to date.

and when i try install --help i get a big help readme that seems like
its referring to configuring the install. I’m TOTALLY lost on this
(obviously i never got to Step 6.)

i apologize for my horrendous spelling errors, as i am quite dyslexic.
Thanks!

P.S. (i am doing this to port a program i wrote under linux for a
christmass present for my brothers, so a reply before christmas would be
awesome!)


Fear Popo Bawa!!!



SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

why don’t you use pre built binary? that’s what i do on windows.
i must have got it from the sdl website, go to Download > SDL 1.2 >
Development Libraries > Win32

i don’t install it, but use some scons magic when building our
SDL/OpenGL programs. (we use scons instead of make)On 21/12/06, Jake Longworth <lil.niles at gmail.com> wrote:

Hi. I’ve been scouring the internet and this mailing list for days looking
for a up to date readme on how to install SDL using wingw. i have all the
latest versions of everything (i double checked that today). i’ve got got
msys and mingw up and running and it does compile and execute c code (tested
it with a simple “hello world”.) I did find this readme on the libsdl
website:

Steps to build SDL natively with the MinGW environment available at:
http://www.mingw.org/

These steps assume that you are comfortable with the UNIX environment.

Step 1. Download the msys package, version 1.0.8 or newer, and install it.
Step 2. Download the latest stable version of the MinGW package.
Step 3. Run the msys shell. Further instructions assume you’re in this
shell.

Step 3. Unpack the MinGW package in the /mingw directory.
Step 4. Move /mingw/bin/make.exe to /mingw/bin/mingw32-make.exe as directed.
Step 5. Extract the SDL source into a directory and run:
./configure && make && make install

Step 6. When you’re ready to build SDL applications, copy SDL.dll from
/usr/local/lib to whereever your SDL application source resides.

Step 1-3 i got thru these steps just fine
Step 4: i think with the new version of mingw, you don’t need to do this. i
used the command make and it worked fine without any problems (further more,
there was no make.exe or mingw32-make.exe in said directory)
Step.5: on trying ./configure, i get the error that there is no such file or
directory. i confirmed that there is no configure file. there IS a Makefile,
but when i try make it says:

Type “make native” to install to /usr
Type “make cross” to install to
/usr/local/cross-tools/i386-mingw32msvc/

upon make native i get:

make install prefix=/usr
make[1]: Entering directory /temp/SDL-1.2.11' make[1]:install’ is up to date.
make[1]: Leaving directory `/temp/SDL-1.2.11’

What is this actually doing? when i type make install i get:

make: `install’ is up to date.

and when i try install --help i get a big help readme that seems like its
referring to configuring the install. I’m TOTALLY lost on this (obviously i
never got to Step 6.)

i apologize for my horrendous spelling errors, as i am quite dyslexic.
Thanks!

P.S. (i am doing this to port a program i wrote under linux for a christmass
present for my brothers, so a reply before christmas would be awesome!)


Fear Popo Bawa!!!


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Here is the article describing the compilation process of SDL on MSYS/MinGW
environment:

http://blog.pantokrator.net/2006/08/08/setting-up-msysmingw-build-system-for-compiling-sdlopengl-applications/

Best regards,
Berislav KovackiOn Thursday 21 December 2006 09:57, Jake Longworth wrote:

Hi. I’ve been scouring the internet and this mailing list for days looking
for a up to date readme on how to install SDL using wingw. i have all the
latest versions of everything (i double checked that today).


http://blog.pantokrator.net/

Jake Longworth <lil.niles gmail.com> writes:
make native; #results in “install is up to date”

I have the same problem, downloading the mingw binary package.
I can’t follow the INSTALL instructions either because there is no “configure”.
In the end,
I just executed the “cp” command manually,
but then I can’t execute
the following “ln” command because the config file just isn’t there.

I’ll watch this page for helpfull hints.

Regarding the message “install is up to date” it is some weirdness of make,
is it?

Peter Schaefer wrote:

Jake Longworth <lil.niles gmail.com> writes:
make native; #results in “install is up to date”

I have the same problem, downloading the mingw binary package.
I can’t follow the INSTALL instructions either because there is no “configure”.
In the end,
I just executed the “cp” command manually,
but then I can’t execute
the following “ln” command because the config file just isn’t there.

I’ll watch this page for helpfull hints.

Regarding the message “install is up to date” it is some weirdness of make,
is it?

I’ve posted detailed notes on how to get
SDL-devel-1.2.11-mingw32.tar.gz working to the list on 20070102.
Actually, I think the header files in that distro needed a couple
more tweaks.

IMHO, if you know what you’re doing, I’d recommend doing the
installation manually.–
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia