freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Unable to initialize SDL: Unable to open a console terminal


From: mahavishnu
Subject: [ft] Unable to initialize SDL: Unable to open a console terminal
Date: Mon, 19 Aug 2013 17:18:28 +0530
User-agent: KMail/4.7.2 (Linux/3.1.10-1.16-desktop; KDE/4.7.2; i686; ; )

hi ,
I cleared that problem just by executing a.out with root permission.but now a 
segmentation fault occurs at

int width = 800;
int height = 600;
int videoFlags = SDL_SWSURFACE | SDL_RESIZABLE | SDL_DOUBLEBUF;
int bpp = 32;
SDL_Surface *screen;
screen=SDL_SetVideoMode(width, height, bpp, videoFlags);--->this line gives 
segmentation fault.
do i have to initialize something properly or what,please advice...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]