01-15-2005, 10:59 AM
Hello, I am trying to compile one of the sample programs included in the library but it does not compile. Here is the error:
Yes, I included qbgfx4fb.bi and sdl.bi in the program. And line 87 in gfxmain.bi is:
Why won't it compile?
Code:
C:\FREEBA~1>fbc primitivesTest32.bas -s gui -i .\ QB_gfx_main.o QB_gfx_text.o QB_gfx_pal.o -l sdl
gfxmain.bi(87) : Error 25: Expected identifier, found: 'screen'
Yes, I included qbgfx4fb.bi and sdl.bi in the program. And line 87 in gfxmain.bi is:
Code:
declare function screen stdcall alias "fb_GfxScreen" (ScreenNum as integer) as integer
Why won't it compile?