Messed up my SDL 1.2 installing SDL1.3 >_<

I downloaded and installed SDL1.3 on Linux. Now a project that was running fine doesn’t work, and the problem is this:

SDL compile-time version 1.3.0
SDL runtime version 1.2.14

How can I solve this? I’m “new” to Linux and i don’t know what i have to do to uninstall SDL 1.3 >_<

Thanks [Embarassed]

reinstall 1.2
when you install 1.3, install to a custom directory
if you leave the defaults, it will override 1.2, and most of your SDL based
programs won’t work (because the run times are different version)On Sat, Jul 17, 2010 at 2:08 PM, Daniel_guzman <daniel.guzman85 at gmail.com>wrote:

I downloaded and installed SDL1.3 on Linux. Now a project that was
running fine doesn’t work, and the problem is this:

Quote:

SDL compile-time version 1.3.0
SDL runtime version 1.2.14

How can I solve this? I’m “new” to Linux and i don’t know what i have to do
to uninstall SDL 1.3 >_<

Thanks [image: Embarassed]


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I did a search and i found two SDL directories, one in:

/usr/include/SDL (these are the headers for SDL 1.2)

so i deleted this:

/usr/local/include/SDL (SDL 1.3 headers)

Thank you
problem solved

But now I want to try SDL 1.3 without messing my SDL 1.2 again. How can I install SDL 1.3 in a such way? :slight_smile:

Oh. Deleting the includes won’t do you much good - that only gets rid of
the headers.

From your package manager (I’ll assume you are using Ubuntu?), remove all
your SDL packages and reinstall (Debian based linux os’s should have the
option to just reinstall…do that)
now, don’t go randomly deleting directories. your package manager probably
quite likes keeping track of them, so it’s bad to just go crazy and delete
them.

So, to install SDL 1.3, I’ll assume you downloaded from the mercurial
repository.
do the ./autogen.sh
then, ./configure --prefix=$HOME/.SDL1.3
then (of course) make && make install

This will install SDL1.3 to a local directory ( in ~/.SDL1.3 )
When you compile, you’ll have to manually add the include/lib path to
~/.SDL1.3/include and ~/.SDL1.3/lib respectively.

Hope that helps,
-AlexOn Sat, Jul 17, 2010 at 3:05 PM, Daniel_guzman <daniel.guzman85 at gmail.com>wrote:

I did a search and i found two SDL directories, one in:

/usr/include/SDL (these are the headers for SDL 1.2)

so i deleted this:

/usr/local/include/SDL (SDL 1.3 headers)

Thank you
problem solved

But now I want to try SDL 1.3 without messing my SDL 1.2 again. How can I
install SDL 1.3 in a such way? [image: Smile]


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Yes I’m using Ubuntu.

I deleted the headers because if I remove the SDL1.2 packages, it tells me that I have to remove all the applications that use sdl library too (Blender… etc etc) :confused: . Then I tried to not remove but reinstall them using the package manager, it went ok but the problem wasn’t solved.

Then I thought that reinstalling SDL 1.2 and removing the headers of SDL 1.3 will solve the problem.

Are you sure that Package manager keep track of manual installed packages?

I will try to install SDL 1.3 right now, Thank you!

I said if it’s available, do a reinstall of the packages. I presume you
used the deb package for SDL 1.2 - if that’s the case, a reinstall will fix
that. If you manually installed SDL 1.2, then manuall reinstall it again.
Afterwards, use the steps I provided for installing 1.3On Sat, Jul 17, 2010 at 4:46 PM, Daniel_guzman <daniel.guzman85 at gmail.com>wrote:

Yes I’m using Ubuntu.

I deleted the headers because if I remove the SDL1.2 packages, it tells me
that I have to remove all the applications that use sdl library too
(Blender… etc etc) :confused: . Then I tried to not remove but reinstall them using
the package manager, it went ok but the problem wasn’t solved.

Then I thought that reinstalling SDL 1.2 and removing the headers of SDL
1.3 will solve the problem.

Are you sure that Package manager keep track of manual installed packages?

I will try to install SDL 1.3 right now, Thank you!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Try removing /usr/local/lib/libSDL*On Sat, Jul 17, 2010 at 12:05 PM, Daniel_guzman <daniel.guzman85 at gmail.com>wrote:

I did a search and i found two SDL directories, one in:

/usr/include/SDL (these are the headers for SDL 1.2)

so i deleted this:

/usr/local/include/SDL (SDL 1.3 headers)

Thank you
problem solved

But now I want to try SDL 1.3 without messing my SDL 1.2 again. How can I
install SDL 1.3 in a such way? [image: Smile]


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC

Ok thank you Sam, now I think all is working well, my SDL1.2 projects compile and run OK, and my test project for SDL 1.3 too :). I installed sdl1.3 like you said Mrozbarry :).

Sam Lantinga wrote:> Try removing /usr/local/lib/libSDL*

On Sat, Jul 17, 2010 at 12:05 PM, Daniel_guzman <@Daniel_Guzman1 (@Daniel_Guzman1)> wrote:

  I did a search and i found two SDL directories, one in:

/usr/include/SDL (these are the headers for SDL 1.2)

so i deleted this:

/usr/local/include/SDL (SDL 1.3 headers)

Thank you
problem solved

But now I want to try SDL 1.3 without messing my SDL 1.2 again. How can I install SDL 1.3 in a such way?


SDL mailing list
SDL at lists.libsdl.org (SDL at lists.libsdl.org)
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org (http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)


? ? -Sam Lantinga, Founder and President, Galaxy Gameworks LLC