02-27-2005, 03:19 AM
Hi, I posted about this over att fb.tk but there didn't seem to be anyone able to help me over there (but thanks for your helpfull pointers guys ).
I downloaded and installed the latest fb (o.11) under fedora core 3, I did as I should (good boy) run the installation script as root and everything, and it worked. At least things seemed to work, and they do, as long as there is no graphics involved...
Neither gfxlib or sdl works.
I don't really know what spec about my computer to give, besides that I have fc3, my graphics card is an nvidia one and I use the driver that is shipped with fedora, not the one from nvidia. The error I get when running a simple example of gxlib code is (the code i run is: screen 12, sleep):
Standard graphics lib a window shows up but disappears directly and I get the errors:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 145 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Serial number of failed request: 21
Current serial number in output stream: 22
And my console gets all jumbled up.
And when compiling a .bas file that uses SDL I get the error:
Runtime error: 2
Which I don't know what it means...
Any clues? I would be happy if I just got gfxlib to work..
And by the way, do you have any pointers on how to make a lib for fb? I've made a normal library by compiling and librarify (ar rcs) the object file and I wrote a .bi file (mimicing one included with fb) but when I compile it, it just complains that it cant find the library.
Love this project, keep the good work up guys! :bounce:
I downloaded and installed the latest fb (o.11) under fedora core 3, I did as I should (good boy) run the installation script as root and everything, and it worked. At least things seemed to work, and they do, as long as there is no graphics involved...
Neither gfxlib or sdl works.
I don't really know what spec about my computer to give, besides that I have fc3, my graphics card is an nvidia one and I use the driver that is shipped with fedora, not the one from nvidia. The error I get when running a simple example of gxlib code is (the code i run is: screen 12, sleep):
Standard graphics lib a window shows up but disappears directly and I get the errors:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 145 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Serial number of failed request: 21
Current serial number in output stream: 22
And my console gets all jumbled up.
And when compiling a .bas file that uses SDL I get the error:
Runtime error: 2
Which I don't know what it means...
Any clues? I would be happy if I just got gfxlib to work..
And by the way, do you have any pointers on how to make a lib for fb? I've made a normal library by compiling and librarify (ar rcs) the object file and I wrote a .bi file (mimicing one included with fb) but when I compile it, it just complains that it cant find the library.
Love this project, keep the good work up guys! :bounce: