Hi, I’m trying to figure out how to install SDL (the DLL & developer files)
on a Windows 2000 machine and use it with mingw.
In the FAQ it says:
Q: How do I use SDL with native Mingw32?
Unpack them in C:\ and run the included mingw32.bat script. This will
launch the bash shell with the environment set up for UNIX style builds. Now
just follow the standard UNIX build procedures (./configure; make; make
install)A: Grab the native Mingw32 tools from: http://www.libsdl.org/Xmingw32/
I did all of this, but when I tried typing ./configure at the prompt that
comes up after running the wingw32.bat file, but it gave me the error:
But I’m not sure where those .sh files are supposed to go. When I try using
the sh cross.sh command, it gives me an error saying I need to install
"wget". Anyways, I don’t think I need all that stuff… I don’t really need
the cross-compiler setup.
So then I tried following the instructions in the INSTALL file, which
recommend unpacking i386-mingw32msvc.tar.gz into the mingw directory. It
put the files in, hwever when I try compiling a simple .c file that includes
"SDL.h", the compiler can’t find the file. The SDL.h file does exist, but
it’s in the directory
C:\gcc-2.95.2\i386-mingw32msvc\include\SDL
So the compiler can’t find it… do I need to configure the compiler somehow
so that it finds this? Or should I add this to my include path in the
makefile?
Heh, in short, what’s the simplest setup for compiling on Windows2000 with
mingw?
Hi, I’m trying to figure out how to install SDL (the DLL & developer files)
on a Windows 2000 machine and use it with mingw.
In the FAQ it says:
Q: How do I use SDL with native Mingw32?
Unpack them in C:\ and run the included mingw32.bat script. This will
launch the bash shell with the environment set up for UNIX style builds. Now
just follow the standard UNIX build procedures (./configure; make; make
install)
I did all of this, but when I tried typing ./configure at the prompt that
comes up after running the wingw32.bat file, but it gave me the error:
./configure: No such file or directory
You also need to change directory the SDL source directory.
Ask your friends who know how to use a UNIX or DOS shell, and they’ll
be able to help you learn how to navigate at the command line.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software> A: Grab the native Mingw32 tools from: http://www.libsdl.org/Xmingw32/
I did all of this, but when I tried typing ./configure at the prompt that
comes up after running the wingw32.bat file, but it gave me the error:
./configure: No such file or directory
does mingw complains about missing /tmp at the beginning ?
I got the same problem, and my conclusion was that mingw does not work when
windows is installed on d:
(it’s your case ?)
coz it doesn’t work neither on win2000 & win98 on my pc
it work well on another pc which have windows on c: (it’s the only
difference between the 2 pc)
(and btw, mingw is f***ing slow, about ONE hour to compile SDL)
I was never able to get SDL to compile on my Windows 2000 box using the
mingw32 setup, and Windows is installed on the C drive. And I know my way
around a command line I played with it for a while, without success, and
ended up just cross compiling on my Linux box. Much much easier Perhaps
it’s not compatible with Windows 2000? I had the error about /tmp being
missing, and always got the same configure error. Creating a C:\tmp or /tmp
inside bash didn’t work, neither configuring the paths properly. I’d be
interested in hearing from someone who has gotten it to work on Win2k, and
what he/she had to do in order to make it work.
I did all of this, but when I tried typing ./configure at the prompt
that
comes up after running the wingw32.bat file, but it gave me the error:
./configure: No such file or directory
does mingw complains about missing /tmp at the beginning ?
I got the same problem, and my conclusion was that mingw does not work
when> windows is installed on d:
(it’s your case ?)
coz it doesn’t work neither on win2000 & win98 on my pc
Perhaps adding the line “set temp=c:\temp” to your autoexec.bat (or just
typing it in b4 you compile) might help… perhaps it looks for that.
At 04:30 PM 2/12/01 -0700, you wrote:>I was never able to get SDL to compile on my Windows 2000 box using the
mingw32 setup, and Windows is installed on the C drive. And I know my way
around a command line I played with it for a while, without success, and
ended up just cross compiling on my Linux box. Much much easier Perhaps
it’s not compatible with Windows 2000? I had the error about /tmp being
missing, and always got the same configure error. Creating a C:\tmp or /tmp
inside bash didn’t work, neither configuring the paths properly. I’d be
interested in hearing from someone who has gotten it to work on Win2k, and
what he/she had to do in order to make it work.
I did all of this, but when I tried typing ./configure at the prompt
that
comes up after running the wingw32.bat file, but it gave me the error:
./configure: No such file or directory
does mingw complains about missing /tmp at the beginning ?
I got the same problem, and my conclusion was that mingw does not work
when
windows is installed on d:
(it’s your case ?)
coz it doesn’t work neither on win2000 & win98 on my pc
Real software engineers don’t debug programs, they verify correctness.
This process doesn’t necessarily involve execution of anything on a
computer, except perhaps a Correctness Verification Aid package.