I would like to start developing on my Windows machine with MinGW/SDL/OpenGL. I
have somehow gotten MinGW to work. But am stuck trying to get the SDL to install.
I have downloaded the zip, and unpacked it. I then try and run “make native” and
it says…
$ make native
make install prefix=/usr
make[1]: Entering directory /c/SDL-1.2.8' make[1]:install’ is up to date.
make[1]: Leaving directory `/c/SDL-1.2.8’
…as if nothing has happened. There is no configure file either.
Looking around I did find a configure file in SDL-1.2.8/test so I ran that and
it seemed like I was in luck until I got this…
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.7 not found
I looked around and couldn’t find a sdl-config script. But in SDL-1.2.8/bin I
found this, i386-mingw32msvc-sdl-config.
So I tried adding SDL-1.2.8/bin to my Path by doing the following:
-My Computer > Properties > Advanced > Environment Variables
Then I tried adding c:\SDL-1.2.8\bin to Path but I got the same error
(sdl-config could not be found)
Then I tried adding a SDL_CONFIG variable and set it to
c:\SDL-1.2.8\bin\i386-mingw32msvc-sdl-config
Still no dice
Please… any help on getting this going would be appreciated. I have scoured
the web for an answer and have found nothing.
Please… any help on getting this going would be appreciated. I have scoured
the web for an answer and have found nothing.
-Billy
I managed to find SDL-1.2.7 and some instructions to install that. I would like
to try and install 1.2.8 again but need to uninstall 1.2.7. I tried “make
distclean” but no dice. How does one go about uninstalling SDL? -billy
I would like to start developing on my Windows machine with MinGW/SDL/OpenGL.
I have somehow gotten MinGW to work. But am stuck trying to get the SDL to
install.
accept a piece of advice from me, which is not a solution to your specific
problem but rather a way to bypass it, with many other:
switch to Dev-C++,
( Home - Dev-C++ Official Website )
a free Integrated Developer Environment for C and C++ that realy cute and well
done, and is provided with a wonderful “package downlaoder and manager” that
makes it so easy to download and properly install any common library, including
SDL (and all its little brothers like SDL_Image etc).
I would like to start developing on my Windows machine with
MinGW/SDL/OpenGL.
I have somehow gotten MinGW to work. But am stuck trying to get the SDL
to
install.
accept a piece of advice from me, which is not a solution to your specific
problem but rather a way to bypass it, with many other:
switch to Dev-C++,
( Home - Dev-C++ Official Website )
a free Integrated Developer Environment for C and C++ that realy cute and
well
done, and is provided with a wonderful “package downlaoder and manager”
that
makes it so easy to download and properly install any common library,
including
SDL (and all its little brothers like SDL_Image etc).
oops, should read " you cant do ./configure in dev-C++ or ./make or anything
like that like you would in a bash terminal."
if you want a way in windows to program so that you can easily port to
unixes and possibly mac (havent tried it there), mingw/msys is the way to
go, its virtualy the same> ----- Original Message -----
From: @atrix2 (atrix2)
To: “A list for developers using the SDL library. (includesSDL-announce)”
Sent: Monday, March 21, 2005 8:26 PM
Subject: Re: [SDL] Re: Installing SDL on Windows
Hey Marco,
I did dev-C++ first and then switched to mingw/msys and am loving it.
you cant do ./configure on mingw/msys or ./make or anything like that like
you would in a bash terminal.
i highly recomend mingw/msys to everyone
----- Original Message -----
From: “Marco Tarini”
To:
Sent: Monday, March 21, 2005 7:10 PM
Subject: [SDL] Re: Installing SDL on Windows
I would like to start developing on my Windows machine with
MinGW/SDL/OpenGL.
I have somehow gotten MinGW to work. But am stuck trying to get the
SDL
to
install.
accept a piece of advice from me, which is not a solution to your
specific
problem but rather a way to bypass it, with many other:
switch to Dev-C++,
( Home - Dev-C++ Official Website )
a free Integrated Developer Environment for C and C++ that realy cute
and
well
done, and is provided with a wonderful “package downlaoder and manager”
that
makes it so easy to download and properly install any common library,
including
SDL (and all its little brothers like SDL_Image etc).
you cant do ./configure in dev-C++ or ./make or anything
like that like you would in a bash terminal.
if you want a way in windows to program so that you can easily port to
unixes and possibly mac (havent tried it there), mingw/msys is the way to
go, its virtualy the same
Alan: yes, you have a good point here
using mingw/mysys makes portable not only the project itself -code and
data-, but also the packaging. ((As for me, I anyway make my packaging
by hand in a system dependent way: for windows I use Inno to make a nice
installer, end-users find it easier, while for linux I make the usual
tarball - starting from the makefile that Dev-C++ generates, and hoping
that it will work on a Mac as well))
Still, Dev-c++ is a lot more user friendly, as the problems Billy’s
experiecnting go to show.
They are both very valid alternatives, for different reasons. At the
point - and on the platform - Billy is, I would still suggest switching
to dev-c++ (and not only for how easy it makes library install, is it
that it is really a nice env).