How do I use SDL with lcc-win32?
Simple DirectMedia LayerFrom 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.
Related QuestionsWhat is SDL?
VisualBoyAdvance Frequently Asked QuestionsSDL 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.
Related QuestionsDalek Chess Project: Frequently Asked Questions (FAQ)SDL stands for Simple DirectMedia Layer. It provides the graphics and sound API's used in the game. It is used by many popular games in the gaming industry today.Related Questions
How do I use SDL with Visual C++?
Simple DirectMedia LayerWhen 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
Related QuestionsHow do I use SDL with Borland C++?
Simple DirectMedia LayerSDL 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 .
Related QuestionsHow do I use SDL with gcc on Windows?
Simple DirectMedia LayerYou 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.
Related QuestionsHow do I use SDL with Dev-C++?
Simple DirectMedia LayerTry 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
Related QuestionsWhat is SDL? Is it proprietary to ResQSoft, Inc.?
Engineer FAQSDL stands for Screen Definition Language. It's a very simple way to represent a user interface (screen or report). You can create SDL with a text editor like Notepad, and ResQSoft™ Engineer can turn it into a beautiful, browser-based interface. But we don't try to charge for SDL or restrict its use, anyone can use it. For even more control, we can use HTML the same way we use SDL. Here's an example of SDL... and the associated screen.
Related QuestionsDo I need to install sdl-devel packages (e.g. the SDL header files)?
FrequentlyAskedQuestions - #qemu WikiIf you want to compile QEMU from source, then you must. This is required. If you are using a binary package however, then it's not necessary (but it doesn't hurt either).
Related QuestionsHow do I tell SDL to use the DGA 2.0 video driver?
Simple DirectMedia LayerWhen I specify SDL_FULLSCREEN in X11, the screen goes black and my window is centered in the middle, instead of covering the whole screen!
Related QuestionsWhy can't I use Visual C++ debugger with SDL applications?
Simple DirectMedia LayerYou 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.
Related QuestionsWhat is TDL? What is SDL?
FAQ- The Window Company - Louisville, KYTDL (True Divided Lite) is where the grille pattern is actually each individual panes of glass. SDL (Simulated Divided Lite) is designed to look like TDL but, is actually 1 piece of glass with grille bars permanently attached to both sides.
Related QuestionsHow do I add SDL to my project?
Simple DirectMedia LayerIf 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.
Related QuestionsHow to run games which require SDL?
User FAQ - wiki.gp2x.orgFirst 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 .
Related QuestionsHow do I install SDL UNIX style?
Simple DirectMedia LayerEither 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.
Related QuestionsCan I build SDL for Windows CE?
Simple DirectMedia LayerSDL 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.
Related QuestionsQuestion: What the hell is SDL?
LGames - Linux GamesAnswer: 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.
Related QuestionsWhy 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).
Related QuestionsWhy choose SDL over TTCN as a testing language?
FAQsTesting languages, including TTCN are evolving, and we are working at the cutting edge of this evolution; as a qualified organization of the ITU-T, we are working on defining the next generation of languages. You can find more information about our role in these activities on the SDL Task Force website.
Related QuestionsDoes SAFIRE have the capability to generate source code from SDL?
FAQsWe follow the JAVA strategy: SAFIRE generates binary files, which can be then interpreted by SAFIRE runtime platform.
Related QuestionsDuring compile I get nasty warnings about missing SDL-files, what do I do?
faq :topic 'Langband)To compile Langband you need a lot of header-files and libraries so it's recommended that beginners use the pre-made packages (e.g for debian and soon for Windows). To compile langband for SDL on Unix you need the following libraries with header-files installed:
Related QuestionsWhy does the Visual C++ debugger freeze at every breakpoint when debugging SDL apps?
Simple DirectMedia LayerThe DirectX drivers have a system lock while you have video surfaces locked. To avoid this, you can set the video driver to GDI by setting the SDL_VIDEODRIVER environment variable to: windib Since this changes video and mouse/keyboard input drivers, you'll see a difference in performance and features available, but you'll be able to debug your application more easily.
Related QuestionsWhy doesn't SDL_WM_ToggleFullScreen() work on Windows?
Simple DirectMedia LayerThe semantics of SDL_WM_ToggleFullScreen() are that switching between fullscreen and windowed mode is transprent to the application. The display pixels pointer does not change, the display depth does not change, etc. This cannot be guaranteed on Windows. However, there is a simple method you can use to change between fullscreen and windowed mode:
Related Questionsedit] Q: Where are the libraries for the OpenGL, Ogre3D, SDL, QT, wxWidgets etc. projects?
FAQ - CodeBlocksThey're not bundled. The templates were provided for your convenience, but you need to download the libraries on your own. In common terms, "batteries not included" :)
Related QuestionsQuestion: I have both libraries installed but the configure script can't find 'sdl-config'?
LGames - Linux GamesAnswer: Your distro ships the SDL and SDL_mixer RPMs and there's nothing wrong with it as long as you run RPMs but you want to compile source and therefore you'll also need the development packages from http://libsdl.org. Mandrake and SuSE are both known to have this problem.
Related Questions