Tagged Questions

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. From SDL's about page: Simple DirectMedia Layer is a cross-platform multimedia library designed to ...

learn more… | top users | synonyms

0
votes
0answers
6 views

How do I create a navigation menu for different pages in SDL Tridion?

I have created different pages for all these categories: books, mobiles, comp, etc. Now I want to put this type of navigation menu (as shown in figure) in all pages and opening a page should highlight ...
0
votes
0answers
10 views

How to use SDL libraries in the Android project built using ffmpeg

I have built ffmpeg for Android on Ubuntu and used these libraries in an Android project through JNI. But using this I could only use the avcodec & avformat APIs and I read that I need to use SDL ...
2
votes
1answer
44 views

“Segmentation fault: 11” when using Derelict and OpenGL

I'm trying to run this on OSX 10.7: /** * simple.d */ import std.stdio; import derelict.sdl.sdl; import derelict.sdl.macinit.SDLMain; import derelict.opengl.gl; pragma(lib, ...
2
votes
1answer
34 views

Why does SDL program not show BMP picture?

I've got following code from Lazy: #include <iostream> #include "SDL/SDL.h" using namespace std; int main() { //Start SDL SDL_Init(SDL_INIT_EVERYTHING); SDL_Surface *hello = ...
0
votes
0answers
25 views

CMake with SDL causing errors

I've been trying to use CMake with a project I'm doing in SDL, but am running into some problems. My sdl folder for the libraries etc is located at C:\SDL\SDL-1.2.14. The error states: Could NOT ...
0
votes
1answer
72 views

CMake - develop for Windows and Linux at the same time

I'm developing a small game in C++ and SDL for a contest for linux, but prefer to develop on windows. Is there a tutorial somewhere that will show me how I can set CMake up so that I can somewhat ...
0
votes
2answers
43 views

SDL - Cross platform development

I'm going to enter a small game competition in the coming months. They require the submission to be able to be compiled ( and it will be, before being run/evaluated for the contest) on Linux. I'm ...
0
votes
0answers
58 views

Sprites are not rendered after pc formating

I'm having a weird problem with my project. I've recently formated my computer, and just set up the back up of my project, installed everything needed and built it again. I've setted the libs, DLLs, ...
1
vote
1answer
68 views

Troubles porting C++ SDL to Derelict3 in D (D)

I've gotten Derelict3 working under DMD 2.xx but now I'm having trouble porting my SDL code from C++ to D, the following code gives me this error: C:\Documents and Settings\Kevin Kowalczyk\My ...
0
votes
0answers
22 views

Building SDL2 on OS X 10.7: “ranlib: file: … has no symbols”

When building SDL2 on lion I've run into the following when running the makefile: /usr/bin/ranlib: file: build/.libs/libSDL2.a(SDL_audiodev.o) has no symbols /usr/bin/ranlib: file: ...
0
votes
0answers
17 views

mac app bundle hangs on launch

I've built a mac app using py2app that will only open correctly if I open the app from the app > contents > macOS directory instead of clicking on the bundle app itself. If I click on the bundle, the ...
0
votes
1answer
35 views

SDL x and y movement

Why wont this code let me move up or left? while( quit == false ) { apply_surface( 0,0, back,screen ); apply_surface( playerx,playery,player, screen ); SDL_Flip( screen ); ...
2
votes
0answers
37 views

cannot retreive correctly the mouse coordinates after resizing a window

Below is a simplified code showing the problem I'm facing. The aim of the code is to create a 512x512 window, and change the Y dimension of its top level surface to 512x(512+25) when a left click is ...
1
vote
1answer
92 views

C++ sdl Segmentation fault

I had my game working and then decided to try and implement a menu using the following tutorial http://youtu.be/k-m0q_uVnno I did not use the tutorial to create the game that was in prior tutorials ...
0
votes
1answer
145 views

Using Derelict3 under DMD2 (D)

I've been using D for around a month now after using other languages such as C++ and Java. I've been wanting to move my simple game platform from Java to D, and I'd like to use the Derelict3 library ...

1 2 3 4 5 63
15 30 50 per page