Questions tagged [sdl]

Simple DirectMedia Layer (SDL); a crossplatform library that provides a simple interface to graphics, sound and input devices.

Simple DirectMedia Layer (SDL) is a cross-platform, free and open source multimedia library written in C that presents a simple interface to various platforms' graphics, sound, and input devices.

* Text taken from Wikipedia.

83 questions
25
votes
2 answers

What is the general procedure to install development libraries in Ubuntu?

I am having a pretty tough time installing the latest development libraries of SDL in my Ubuntu 12.04. Last year, I somehow managed to install libsdl 1.2-dev for Ubuntu. As far as I remember, I did it using Synaptic Package Manager. Now, I want to…
progammer
  • 437
  • 2
  • 5
  • 11
18
votes
1 answer

How can I leave tty?

So I got a problem here. So I installed SDL 2.0.1, everything worked fine, I installed dependencies of sdl as well, so I saw that it didn't worked, so I rebooted my pc, after that I get to gnome, and don't know what do, maybe some help? :)
TheScriptan
  • 325
  • 1
  • 3
  • 11
12
votes
2 answers

I downloaded Dwarf Fortress. Why won't it run?

I downloaded the version of Dwarf Fortress for Linux onto my computer, but when I click on the df file, it doesn't do anything. When I run it in a terminal, it gives me this message: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot…
Liam
  • 131
  • 1
  • 1
  • 3
12
votes
1 answer

fatal error: SDL/SDL.h: No such file or directory

I am trying to practice lesson_1 at https://tutorialsplay.com/opengl/2014/04/23/textured-cube/ When I run the code named cube.c I got cube.c:16:21: fatal error: SDL/SDL.h: No such file or directory #include
Evan S
  • 377
  • 2
  • 6
  • 14
12
votes
3 answers

Could not initialize SDL : No available video device Don't move

I have downloaded an indie game Don't move from this link . When I try to run it on Ubuntu 12.04, it gives following error messages. Could not initialize SDL : No available video device AL lib: (EE) alc_cleanup: 1 device not closed How do I…
Heisenberg
  • 223
  • 1
  • 2
  • 5
11
votes
4 answers

How to install all SDL libraries in Ubuntu 14.04?

dpkg -l | grep sdl This command gives me the following detail: ii libsdl1.2debian:i386 1.2.15-8ubuntu1.1 i386 Simple DirectMedia Layer I don't know whether SDL 1.2…
dlpsankhla
  • 113
  • 1
  • 1
  • 5
9
votes
2 answers

Missing SDL_ttf.h

I am trying to install Marathon on my laptop. Been following along with the instructions at: https://github.com/Aleph-One-Marathon/alephone/wiki/Linux%20Install%20Instructions#ubuntu. I installed the following libraries, per the instructions, sudo…
Grant Moore
  • 105
  • 2
  • 2
  • 8
9
votes
2 answers

How to see what SDL version I have

I am want to know what SDL version I have installed on Ubuntu. Is there a terminal command I can run to find out?
Levan
  • 10,690
  • 22
  • 67
  • 93
8
votes
4 answers

Can't compile program that uses SDL after upgrade to 11.10 - undefined reference to SDL_Init

I've just upgraded from 11.4 to 11.10 and at least one thing seems to be broken: I have a C++ program that is using SDL and OpenGL. I was able to compile and run it just fine before the upgrade. Now I get linker errors, for example undefined…
adam
  • 871
  • 2
  • 10
  • 17
7
votes
1 answer

Can SDL work on Ubuntu Touch?

Recently, I've see the Ubuntu Touch video here http://www.youtube.com/watch?feature=player_embedded&v=cpWHJDLsqTU I want to try to port my own game (using SDL and OGRE) from PC to Ubuntu Tablets. However it said that the developing will be based on…
user139401
  • 71
  • 1
6
votes
1 answer

Ubuntu 15.10 Installing SDL2

I have ubuntu 15.10 running as a virtual machine I would like to install and use SDL2, I followed this process What is the general procedure to install development libraries in Ubuntu? as well as the instruction for Ubuntu from here: I got no…
Ueffes
  • 63
  • 1
  • 1
  • 6
5
votes
1 answer

Issues finding the location of package: libsdl2-image-2.0-0

Recently I've been playing around with the SDL library and wanted to start using libsdl2-image-2.0-0 along with SDL. I have been trying to get this working with Ubuntu 15.04. I have installed the package using sudo apt-get install…
A_Sandwich
  • 51
  • 1
  • 1
  • 3
4
votes
1 answer

Do I have to compile SDL2_mixer myself?

I want to get the package SDL_mixer to use in a game I am making, but from what I've seen there are only versions compatible with SDL 1.2. Did I overlook something or will I have to compile the SDL 2.0 version myself?
Code Cube
  • 41
  • 1
  • 5
4
votes
2 answers

Shared libSDL library fails to open

I'm having an issue with a shared library called libsdl. What I'm trying to do actually is to start up a game engine called GCCG (Generic Collectible Card Game). All the necessary packages were installed for the engine, however when I run the…
Kallestofeles
  • 78
  • 1
  • 8
3
votes
0 answers

SDL cannot find video device within an Xvfb

I want to run a program that is dependent on SDL 1.2 as a graphics backend within an X virtual frame buffer. I'm using the xvfb-run command like so: xvfb-run --auto-servernum --server-num=1 -s 'fbdir /tmp/pics' my_program However, I end up getting…
brucei
  • 31
  • 2
1
2 3 4 5 6