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