Qbasicnews.com

Full Version: DLL files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I compiled one of the SDL gfx demos, it asked me for SDL.dll. Then I compiled one of the OpenGL programs it asked me for glut32.dll . Am I meant to compile glut32.dll.a in fbc, if so what's the command line syntax? Also would SDL require me to have a decent gfx card? Cuz I've got an integrated one that won't even let me play Hexen II unless I'm in verysafe Hexen II.
in the compiler parameters, for sdl you add:

-l sdl

i suppose you do the same for glut, but then again i have no experience with that yet.
It didn't work. I still don't get it. Should I go fbc -l sdl sdl2dtest.bas
?
You need to download SDL and openGL drivers.

SDL can be found here:
http://fbtk.qbtk.com/phpBB2/viewtopic.php?t=33

You need to download it, and put the DLL file in your windows\system32 folder (on win XP) or windows\system (on 9x)
If running XP you also need to "register" the DLL, and I have no idea how to do that, or why or anything Tongue