02-16-2005, 02:01 AM
Pages: 1 2
02-16-2005, 02:09 AM
You cant mix SDL and built in graphics.
Cannot
Impossible
Cant be done
Wont work
SDL is already included in the FB package.
Look at the examples.
Cannot
Impossible
Cant be done
Wont work
SDL is already included in the FB package.
Look at the examples.
02-16-2005, 02:17 AM
Well when I try to run the example-
An error message pops up saying SDL.dll was not found.
Code:
SCREEN 21
CIRCLE (80,80),80
SLEEP 1000
An error message pops up saying SDL.dll was not found.
02-16-2005, 02:20 AM
Try downloading freeBASIC 0.11b
http://www.freebasic.net
If you still want and need the SDL.DLL file, try: http://www.libsdl.org
And sorry about my previous post, thought you meant using SDL mixed with built in gfx commands, which wont work, as it says in the readme files , My bad, sorry.
http://www.freebasic.net
If you still want and need the SDL.DLL file, try: http://www.libsdl.org
And sorry about my previous post, thought you meant using SDL mixed with built in gfx commands, which wont work, as it says in the readme files , My bad, sorry.
02-16-2005, 02:22 AM
Download the SDL runtime from http://www.libsdl.org/ and put the SDL.dll either in your windows system directory (makes life a lot easier), or just put it in the same folder as your program.
In 2000/XP, windows sys dir is C:\WINNT\System32\ (the C:\WINNT might be different... it might be C:\Windows\ for you).
-shiftLynx
In 2000/XP, windows sys dir is C:\WINNT\System32\ (the C:\WINNT might be different... it might be C:\Windows\ for you).
-shiftLynx
02-16-2005, 02:34 AM
I installed the version 0.11 of the FreeBASIC compiler and I get no error but when I call screen 12 or 21 or probably any screen for that matter a windows - window comes up with none of my graphic in it and then the FBIde has to shut down due to an error.
02-16-2005, 02:38 AM
Hm, could you post the sourcecode of your program?
02-16-2005, 02:41 AM
Its very simple-
Any other screen mode causes this error as well.
EDIT - In fact now when I compile something and the program is finished runninga error appers and I have to start the FBIde again.
Code:
SCREEN 21
CIRCLE (80,80),80
SLEEP 1000
Any other screen mode causes this error as well.
EDIT - In fact now when I compile something and the program is finished runninga error appers and I have to start the FBIde again.
02-16-2005, 03:08 AM
Hm, try using a smaller screen.
Try with screen 13 and see if the erors still there.
Could be your screen cant handle 1280x1024x8bit resolution.
Try with screen 13 and see if the erors still there.
Could be your screen cant handle 1280x1024x8bit resolution.
02-16-2005, 12:30 PM
Ok, in SCREEn 13 it actually did draw the circle but when the program was finished running an error occured and then the FBIde had to close down. Should it be coming up in a window (a windows window)? An error is now even happening when I try to compile Hello World so something must be wrong.
Pages: 1 2