Qbasicnews.com

Full Version: sdl questions. this is a basic question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i testing out some of the samples. and they said i was missing some files like 'sdl_image.dll'. 'sdl_gfx.dll'
something about that.
how could i abuse sdl if i couldnt find those files at the internet.
sorry if that isnt real files but i think it is something like that.

also another quick question about programming in general. what is a preprocessor
1) Do you have SDL? http://www.libsdl.org/index.php


2) http://www.google.com/search?q=define%3Apreprocessor
A phase of the compiler that examines the source program for preprocessor statements, which are then executed, resulting in the alteration of the source program.
Quote:1) Do you have SDL? http://www.libsdl.org/index.php
yes. thats why i asked this question. because even if i already got that then it says its missing more files. maybe i put sdl.dll in the wrong folder.. is this possible? because some of the examples work using it, but others dont.
Actually, I got SDL from that same site and I don't have sdl_gfx.dll either. It just came with sdl.dll, which is supposed to go in the C:\WINDOWS\SYSTEM directory (or in NT|2000|XP, C:\WINNT\SYSTEM, I believe). Whichever OS is being used, the SYSTEM folder should already be created.

I got that exact error (I think) when I tried using SDL for the first time.
thanks pal. just what i needed. (i hope)
Quote:Actually, I got SDL from that same site and I don't have sdl_gfx.dll either. It just came with sdl.dll, which is supposed to go in the C:\WINDOWS\SYSTEM directory (or in NT|2000|XP, C:\WINNT\SYSTEM, I believe). Whichever OS is being used, the SYSTEM folder should already be created.

I got that exact error (I think) when I tried using SDL for the first time.

Windows XP is c:\windows\system\

I run it.

>anarky
whitetiger, those didnt work.
anarky and rpgfan - i had it in the wrong folder. thanks.
Are you sure you're getting the right file? All it wants is a dll file either in c:\windows\system32, or in the same directory the .exe is in. You want to download a windows binary distribution of those runtime libraries.

This file contains sdl_image.dll
http://www.libsdl.org/projects/SDL_image...-win32.zip

sdl_gfx does only seem to come packaged in a source file, but I found a precompiled sdl_gfx.dll on this site:
http://gnuwin.epfl.ch/apps/luola/en/install/luola/
ill try those links jofers.
did you have to download those too? or did yours always work? and im wondering why mine doesnt work. i have copies of sdl.dll in c:\system32.
Pages: 1 2