SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-10-24 20:38:56

Malice
#! Member
From: Poland
Registered: 2013-10-15
Posts: 50

How to install SDL 2.0 and gcc 4.8 on #! ?

Hello,

I would like to use SDL 2.0 with Geany. I have 1.2, and afaik it's the only available SDL in repository(I mean, I can't find 2.0 using synaptic). Same goes for gcc 4.8. I would like to check out newest features of C++11. How can I install SDL 2.0 and get it work with Geany?

Cheers!

Last edited by Malice (2013-10-24 21:04:28)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-10-24 22:18:11

iann
#! Die Hard
Registered: 2010-09-10
Posts: 720

Re: How to install SDL 2.0 and gcc 4.8 on #! ?

libsdl2 is in jessie and sid.  Both require an upgraded libc6, amongst other things.  That's going to be quite a stretch.  You might be better off compiling it yourself.

gcc 4.8 also in jessie and sid.  Dependencies look more manageable.

Might be easier just to install a different distro from scratch.

Offline

#3 2013-10-27 16:52:15

FrightenedUser
New Member
Registered: 2013-10-27
Posts: 1

Re: How to install SDL 2.0 and gcc 4.8 on #! ?

I was able to compile SDL 2.0 (in both CrunchBang and Lubuntu) by following these instructions:
http://nothingtocode.blogspot.com/2013/ … -mint.html

I'm not sure how to set it up in Geany, but this tutorial shows how it's done in Code::Blocks, and may be of some help:
http://lazyfoo.net/tutorials/SDL/01_hel … /index.php

Offline

#4 2013-10-29 22:51:49

Malice
#! Member
From: Poland
Registered: 2013-10-15
Posts: 50

Re: How to install SDL 2.0 and gcc 4.8 on #! ?

Thank you FrightenedUser, I recently switched to C::B due to my familiarity with this IDE and useful functions.

Right now, my latest question remains. I have GCC 4.7 up and running. I would like to have GCC 4.8. I have gcc-base 4.8 on my pc(I downloaded it a while ago), but idk if it's useful for me, and what should I do to install G++ 4.8. Any help please?

And thank you all guys who reply to me smile

Offline

#5 2013-10-31 21:11:44

Malice
#! Member
From: Poland
Registered: 2013-10-15
Posts: 50

Re: How to install SDL 2.0 and gcc 4.8 on #! ?

Is it really impossible, or this hard?

Offline

#6 2013-10-31 21:22:22

iann
#! Die Hard
Registered: 2010-09-10
Posts: 720

Re: How to install SDL 2.0 and gcc 4.8 on #! ?

gcc 4.8 is in jessie, sid, and siduction.

Offline

#7 2013-10-31 21:22:46

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 1,007

Re: How to install SDL 2.0 and gcc 4.8 on #! ?

Not impossible, but challenging.

http://gcc.gnu.org/wiki/InstallingGCC

If you find yourself needing many newer packages than are available on Debian stable, you might be better off moving to sid.

Last edited by porkpiehat (2013-10-31 21:24:32)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo