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

learn more… | top users | synonyms

0
votes
0answers
20 views

Environment variables not from bashrc?

I use 1604 Unity DE and I am not enjoying that games from steam minimize on selecting another window. This is just bad behavior imho and should be changed since this default is simply silly and only ...
1
vote
0answers
31 views
+50

QEMU SDL_Init failed: No available video device

Total Linux NOOB looking for advice: I'm trying to run a 64bit application on a 32bit PC using QEMU user mode. I have compiled qemu from source, all good, but when I want to start the application (...
1
vote
0answers
44 views

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 ...
1
vote
1answer
41 views

Develop a Snap package for project using SDL2

I am currently developing an application that uses joystick input and generates different wave sounds using SDL. While the implementation works without any issues, once I package my application using ...
1
vote
2answers
109 views

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 ...
0
votes
0answers
35 views

Pygame/SDL graphics jerky/choppy in 16.04 on Dell XPS 9350

When I run the tutorial pygame bouncing-ball I do not get it moving with a uniform speed; instead it seems to be jerky and choppy, lagging as if the system cannot keep up with processing the animation....
1
vote
0answers
108 views

Can't install libSDL2-2.0-0:i386

I'm trying to run Star Conflict. It had troubles with libcurl, but I fixed that. Now, it wants the 32-bit version of libSDL2-2.0-0. No problem right? Well, this is what it says: dirk@SUBNETDEFENSE:~$ ...
3
votes
1answer
224 views

Ubuntu 14.04.3 libsdl2-2.0-0:i386 wants to downgrade xorg

Ubuntu 14.04.4 LTS kernel 3.19, xorg 1.17 (vivid HWE stack) sudo apt-get install libsdl2-2.0-0:i386 gives the following output. This can't be right! I need this for pcsx2 1.4.0 Reading package ...
0
votes
0answers
20 views

how to “reset” the sdl and sdl_mixer things to vanilla ubuntu 14.04.3LTS (trusty)

I ran ubuntu about a year when i tried to install a few old games. Till that point the system had no failure at all. I followed instructions to make some old game work, everything was do-able for me. ...
0
votes
0answers
138 views

sdl2 problem: no such file, but it's there; also, how does ldd work?

got a Problem on my 64bit Ubuntu 14.04 with SDL2. I am trying to run a game (unrealworld): /urw3-bin: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No ...
0
votes
1answer
50 views

error in downloading graphics.h

I am trying to download graphics.h header file but after 1.sudo apt-get install build-essential, there is no upgrade in my pc 2.download of libgraph-1.0.2.tar.gz file. 3../configure it not working ...
0
votes
0answers
134 views

How do I install SDL-devel SDL_image-devel libraries?

I'm trying to work with BPG format and followed the instructions given here to install libbpg. It requires SDL and SDL image libraries to be installed, which I did by compiling from source. However, I ...
0
votes
1answer
138 views

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 ...
0
votes
0answers
56 views

“The audio device couldn't be initialised.” on Teeworlds

I have tried to open Teeworlds and I've been playing it for a long time. However, it throwed an error this morning, saying: "The audio device couldn't be initialised.". I still can play the game, but ...
0
votes
0answers
63 views

Procedure to install and #include downloaded development library to C file

Lets continue from this previous question. I see that the general procedure is: Download .tar.gz file Extract the file with any method (eg. tar -xvzf SDL2-2.0.0.tar.gz) Go to the extracted folder ...
0
votes
0answers
158 views

Error initializing SDL

I've been trying to get EmulationStation to work on Ubuntu. I just did a clean install of the minimal ubuntu and from there on out I've followed the guide provided by the official EmulationStation ...
2
votes
1answer
46 views

How to compile code without having the needed library 'installed' in your system?

In one of my projects in working with the SDL 2.0 libraries. My computer went kaput last night and at my uni my profile doesn't have sudo powers. Is there a way to compile and run my code without ...
0
votes
0answers
239 views

/dev permissions misconfiguration

I'm having a problem with permissions on my devices. I used Kubuntu-based Netrunner distro, vivid-based. Problem: After some software installation, all my SDL-based apps (Dosbox, etracer) suddenly ...
1
vote
2answers
172 views

It's possible to develop ubuntu touch app in C++ without using QML?

I am looking for way to develop ubuntu touch app using only C/C++. I want to know what are other options, maybe GTK+ can be used ? or QT Widget ? without sacrificing display touch capabilities ? And ...
1
vote
1answer
32 views

Help following instructions (stuck at editing a file)

I'm following these instructions. This is what I've done so far: Installed JDK Downloaded NDK & SDK, extracted them and MOVED them to usr/src Configured my $PATH Ran android and now I'm ...
2
votes
1answer
10k views

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

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 ...
1
vote
2answers
1k views

Compile error /usr/bin/ld: cannot find -lSDL collect2

When I do $ gcc cube.c -lglut -lGL -lGLU -lSDL /usr/bin/ld: cannot find -lSDL collect2: error: ld returned 1 exit status When I do $ sudo apt-get install libsdl* Reading package lists... ...
2
votes
1answer
2k views

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 ...
2
votes
0answers
89 views

Error in statically linking libSDL

I am trying to statically link libsdl on a test I wrote. What I did is: g++ test.cpp -Wl,-Bstatic $(sdl-config --static-libs) -Wl,-Bdynamic which gave me the error: /usr/lib/x86_64-linux-gnu//...
3
votes
1answer
594 views

apt-get install is removing a LOT of packages when installing libsdl2-dev, 14.04.2 with HWE

I have a 14.04.2 x86_64 system with HWE installed. I am wanting to install the package libsdl2-dev. Initially I got the following error: $:~/programming/SMD/dgen/dgen-sdl-1.33$ sudo apt-get ...
2
votes
0answers
74 views

How to invoke a X Session and a VM instead of login prompt

The system is Ubuntu 12.04 but the OEM requirement is to make it appear as if it is a Windows system to the end user. Other VMs and daemons will be active in the system but it is controlled from ...
0
votes
1answer
59 views

Why am I getting this error message when searching for a library?

I'm trying to install a custom Mightex software and at some point I get the following error message: configure: error: Cannot find required SDL library. So after googling I found this page I typed:...
1
vote
1answer
421 views

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....
1
vote
1answer
2k views

How to see what SDL version I have on my ubuntu

I am want to know what SDL version I have installed on my ubuntu Is there a terminal commend I can run to find out ??
1
vote
0answers
46 views

Video scaling using sdlvideosink

how can I do video scaling using playbin2 and sdlvideosink. Actually videoscale is not a property of playbin2. So how can I do it. Can you help me
0
votes
2answers
2k views

I can I install a 32 bit version of libsdl1.2debian on a 64 bit machine?

I'm trying to install a 32 bit version of libsdl1.2debian as a program I'm trying to run, Powder Toy, returns this when launched: /home/kyle/golly/powder-89.2-lin32/powder: error while loading shared ...
1
vote
0answers
241 views

SDL app code arm linaro cannot find -lSDL

I'm using gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux to cross compile the following SDL code. usingubuntu-14.04 #include "SDL/SDL.h" int main( int argc, char* args[] ) { //The images ...
0
votes
1answer
914 views

Unable to locate package libsdl1.2-dev

I'm having issues trying to install sdl to run some applications. I used a string given by the FAQ of the app I was trying to run, but this is the result. devlin@DiningRoomHP:~$ sudo apt-get install ...
0
votes
1answer
757 views

SDL libraries are missing

~/vidmodel/wvsn-model-omnetpp-v4/geometry/Triangle.o ~/vidmodel/wvsn-model-omnetpp-v4/geometry/Polygon.o ~/vidmodel/wvsn-model-omnetpp-v4/geometry/triangulation.o -Wl,--no-as-needed -Wl,--whole-...
1
vote
0answers
29 views

X.Org and Xserver development headers issue

Trying to install SDL2, following the guide here. I've tried this before, and it's destroyed my laptop several times already, because one of the packages (x.org-dev) replaces a lot of packages, and ...
5
votes
3answers
8k views

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) ...
0
votes
1answer
150 views

Where are the compiled SDL libraries?

I compiled the SDL 2 libraries as described here What is the general procedure to install development libraries in Ubuntu? What I would like to know, is where are these libraries actually located ...
4
votes
1answer
7k views

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 ...
0
votes
1answer
386 views

ld error while linking to SDL2

i'm struggling in the attept to compile c++ with SDL2. I've done as always: checkout the code (both from mercurial and libsdl.org) ./configure, make, sudo make install But it keeps to say: /usr/...
0
votes
1answer
2k views

ubuntu: can't install sdl1.2-dev due to broken packages

I tried to install libsd1.2-dev, but got an error due to some dependencies that I do not know how to solve. sudo apt-get -f install libsdl1.2-dev Reading package lists... Done Building dependency ...
19
votes
2answers
42k views

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 ...
0
votes
1answer
1k views

using SDL in eclipse

I have downloaded a c++ program. So I decided to run it but it says no such files or directories for SDL.h and SDL_ttf.h files. I installed the libsdl2 package from terminal as well as downloaded it ...
1
vote
1answer
2k views

How to install “megamario” (“SDL/SDL.h” not found)

I tried to install megamario1.7 on Ubuntu 12.04 64bit (http://sourceforge.net/projects/mmario/?source=dlp) I installed all requiered SDL-libraries. Wenn I type in make PREFIX=/usr/local It gives ...
0
votes
1answer
322 views

Compile fail. SDL problem

When I try to compile this program using make command, it fails. I think I have all the neccessary libraries for this. Here is the screen shot of the trerminal with the compile fail. And here is a ...
1
vote
2answers
666 views

Undefined Symbol Error when running SDL program

I've recently started playing around with SDL, following some tutorials online. I got a basic test program going, and it compiled fine, and it ran fine until recently. Starting about two days ago, ...
7
votes
1answer
382 views

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. ...
1
vote
1answer
489 views

When will the sdl 1.3 libraries be available (implementing force feedback), or how do I compile them?

I want to use sdl force feedback for my joystick and use it on dolphin-emu. I need the 1.3 sdl libraries and only 1.2 are available. I tried to build them, but with no luck. Can anyone help?
1
vote
2answers
208 views

Blob And Conquer: SDL not showing textures

This is something that has happened since I upgraded to 9.10, but hasn't got fixed yet. I'd like you to look at Blob And Conquer and some of his screenshots, like this one: Now, install the app ...
1
vote
1answer
181 views

Editor with Code Completion for SDL

Is there a code editor that offers code completion and shows the function prototype for SDL? I ask for an automatic completion like in Notepad++, that shows functions list after like 3 characters ...
2
votes
1answer
663 views

OpenGL games won't open due to X11

For some reason, any OpenGL game I try to play crashes when it wants to open the window. Let me give you an example from running teeworlds from terminal: imnotanerd@sys76laptop:~$ teeworlds # skip to ...