QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I use SDL with lcc-win32?

Simple DirectMedia Layer
From lcc-win32 IDE run "Utils->Import foreign library" specifying the path of SDL.lib taken from Visual C++ package, this will create a new lcc\lib\sdl.lib file Select "Compiler->Settings", in the "compiler settings" tab, " Path" add the path to SDL include files; in the "linker settings" tab, "additional files to be included in the link" add sdl.lib Select "Project->Add/Delete files...", "Add new file..." and add SDL_win32_main.c taken from the src/main/win32 directory in the SDL source code.

What is SDL?

VisualBoyAdvance Frequently Asked Questions
SDL stands for Simple DirectMedia Layer. It is a cross platform library for graphics, input, audio, threading, etc... that can be used for games, emulators, etc. VisualBoyAdvance has a special version that uses the SDL library and that provides the same behaviour on the different systems it as been ported to. The main difference with the Windows version is that it is command line driven, meaning you have to type arguments at the command line in order to run. See similar questions...

How do I use SDL with Visual C++?

Simple DirectMedia Layer
When using Visual C++ I get "fatal error C1083: Cannot open include file: 'windows.h': No such file or directory" When using Visual C++ 5, I get the following error message: SDL.lib : fatal error LNK1106: invalid file or disk full See similar questions...

How do I use SDL with Borland C++?

Simple DirectMedia Layer
SDL 1.2.5 and newer have projects for C++ Builder 5 and 6 for Windows, Kylix 3, and the free Borland C++ command line tools. Take a look at Borland.html in the source archive. For both Watcom C/C++ and Borland C/C++ the compiler option that makes enums having the size of an int must be enabled. This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11). You still need the SDL_MAIN.LIB file, so that you don't need to define WinMain() and all that junky windows stuff. You have no . See similar questions...

How do I use SDL with gcc on Windows?

Simple DirectMedia Layer
You can build and use SDL with gcc natively using either Cygwin or MinGW, or you can build a gcc cross-compiler targeting Windows from another platform. Once the build environment is set up, you can build your applications as though you are on UNIX. See the Linux FAQ for more details on building applications in this environment. See similar questions...

How do I use SDL with Dev-C++?

Simple DirectMedia Layer
Try the Dev-C++ tutorial available at: http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1. If you have problems, please contact the author of the tutorial. There are also step by step instructions at: http://docs.deninet.com/sdl_on_dev_c.htm See similar questions...

How do I tell SDL to use the DGA 2.0 video driver?

Simple DirectMedia Layer
When I specify SDL_FULLSCREEN in X11, the screen goes black and my window is centered in the middle, instead of covering the whole screen! See similar questions...

Why can't I use Visual C++ debugger with SDL applications?

Simple DirectMedia Layer
You need to pass the SDL_INIT_NOPARACHUTE flag to your calls to SDL_Init() to make the msvc debugger work. Otherwise the debugger will be unable to trace exceptions, and other debugging features like run to cursor won't work. See similar questions...

How do I add SDL to my project?

Simple DirectMedia Layer
If you are using home-grown Makefiles for your project, you can get the proper CFLAGS and LDFLAGS for SDL by adding the following lines to your Makefile: If you are using autoconf and automake for your project, you can copy the contents of 'sdl.m4' into your acinclude.m4 file, and then add the following to your configure.in file: dnl Check for SDL SDL_VERSION=1.2. See similar questions...

How to run games which require SDL?

User FAQ - wiki.gp2x.org
First download the SDL from the gp2x archive: http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,31,869 Then install SDL by extracting all files to the root folder of your SD card, start your GP2X and select utility->install_libs.gpu . See similar questions...

How do I install SDL UNIX style?

Simple DirectMedia Layer
Either you can compile and install it from source (via the usual ./configure && make && make install procedure). Or install it via some kind of packaging system which ships premade packages for SDL. For example, both Fink and DarwinPorts include packages which are suitable. You can learn more about them on their respective sites. See similar questions...

Can I build SDL for Windows CE?

Simple DirectMedia Layer
SDL is not officially supported on Windows CE, but some people have successfully built and run SDL applications on Windows CE. SDL 1.2.5 and newer contain project files and information on building SDL for Windows CE. Take a look at the file README.WinCE in the source archive for more information. See similar questions...

Question: What the hell is SDL?

LGames - Linux Games
Answer: Yes! It's a mixing tool based on SDL. These two libraries are all you need to compile an LGame (Okay, some libraries like libmath, libpng and libz are also required but any distro ships it! If yours doesn't try to hit your dealer's head with it... and demand your money back!) Answer: SDL is required by ALL games and SDL_mixer is recommended for LGeneral, LBreakout2 and LTris. If you don't get SDL_mixer the game will run but obviously without sound. For win32 you'll need SDL. See similar questions...

Why do you distribute LCC-Win32 and Borland C/C++ compiled versions ?

MGGEN.COM : FAQ (Magic Software Enterprises)
So you have the choice ! I use LCC-Win32, and only compiled with Borland C/C++ in case I'll need C++. A few functions need recent system DLLs (such as comctl32.dll) to fully work. Try to install IE3 (at least). Make sure you have the good version on this PC (try 'get.about', this procedure shows an about box that shows the version). Magic did not find the DLL. The best place to put Magic DLLs is in your Magic folder (the same place as you mmgenw.exe or mgrntw.exe). See similar questions...

Explore Other Topics

Do I need a permit for a Yard Sale?
Will there ever be an Inuyasha game for PS2?
I have heard that grapefruit juice can stop the effect of certain medications. Is this true?
How can I tell the good Tiffany lamps from the bad Tiffany lamps?
Question: Can there be both a criminal prosecution and a civil lawsuit?
How should I clean my anodized rims?
How do I obtain a SAG card?
How many passport photos do I need to attach to my application form or forms?
How do I install the NVIDIA Detonator drivers for Windows 95/98/ME/NT4/2000/XP?
Which is the biggest inhabited castle in the world?
Do I need a passport to get into Canada or British Columbia?
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact