ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm Alvaro, trying to compile this version of NEHE's opengl tutorial...
I found this error executing the compiled program (it compiles succesfuly:
Width of crate.bmp: 256
Height of crate.bmp: 256
X Error of failed request: GLXBadRenderRequest
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 32
Current serial number in output stream: 40
...it tries to load crate.bmp and it returns this...
Do you have any idea of what happens?
...or do you know any linux opengl specific forum or mailing list?
i guess theres a problem with his load image code, but as i dont have glut i cant debug it at the moment but ive downloaded the linux/sdl version of lesson6 written by ti legget and it compiles and runs fine so i suggest you use that instead.
glut doesnt provide an api to load images so the guy who wrote that example wrote his own code to load images and there appears to be something wrong with it, so your gonna have to write a function to load images yourself or find one and use it instead of his.
Ok, now is time to understand something important for me:
my distribution (debian unstable) provides the mesa packages in 2 versions:
xlibmesa (with other suffixes and prefixes, glut, etc...)
mesag3 (the same)
the difference is that mesag3 offers seems to be version 5.0.1 (the latest) but xlibmesa is 4.x. But if I install mesag3 it forces me to uninstall the nvidia drivers I'v installed! So I decided to work with that other name for mesa packages, but... I'm DOING SOMETHING BAD?
I just want to build simple interactive applications... why is this so difficult???
what are the differences between using MESA and OPENGL??
because I thought that OpenGL works better in LINUX (mesa) than in windows (and I don't want windows)
I need a powerful but not too complicate tool for programming 3d interactive applications, able to expand its posibilities with some kind of input (sound, sensors, etc...)