GLBasic forum

Main forum => GLBasic - en => Topic started by: mr_x on 2009-Mar-21

Title: shaders in linux
Post by: mr_x on 2009-Mar-21
Can somebody try to run "shaders" example in linux? On my PC it doesn't work, when I run this example, it just terminates. I'm very new to linux, maybe i did something wrong.

p.s: I use kubuntu with default video drivers.
Title: Re: shaders in linux
Post by: MrTAToad on 2009-Mar-21
First, make sure the program has permission to run

Next, open Terminal and copy the icon into this window (selecting cp if given a choice of what to do), and then press return.

I'm suspecting a message will come up, saying something like :
shaders/Multitexture.linux: error while loading shared libraries: libmikmod.so.2: cannot open shared object file: No such file or directory

If so, I may have found a bug :)
Title: Re: shaders in linux
Post by: mr_x on 2009-Mar-21
The program has permission to run, I did all like you describe in your tutorial :) All other examples works, including bumbmapping, so i think shaders supported by my current video driver, i don't want to install proprietary driver very much, because I always have a lot of problems with them. When i copy icon into terminal there was a lot of lines with "OK" in the end, but the last line was "request: fopen("", rb) failed", and after that it terminates. And the mouse doesn't response after that, so I can't copy all the lines that appear in the terminal. How can save output of the terminal without mouse?
Title: Re: shaders in linux
Post by: MrTAToad on 2009-Mar-21
I wonder what file its supposed to open ?

It sounds like the generic drivers cant cope with shaders.

Title: Re: shaders in linux
Post by: mr_x on 2009-Mar-21
Ok, I have installed proprietary driver, and now this example works. But why "bumpmapping" example worked before? It doesn't need shader support?
Title: Re: shaders in linux
Post by: MrTAToad on 2009-Mar-21
Its hard to tell - possibly the generic driver doesn't support this sort of advanced graphics.