Can't get OpenGL apps to work in Linux
Notify me of responses
I am unable to run any OpenGL applications on RedHat9, the cause might
be GLUT, when i run any FPC or Kylix compiled project that uses GLUT
they display an error about X.. function. I don't have any apps that
use OpenGL directly. I adapted the GLFW unit from
http://glfw.sourceforge.net/ to be crossplatform and i was able to run
GL progs on windows but not on linux, i also linked the C code to so.
I would appreciate some help in running OpenGL apps on Linux.
The C/C++ based examples also Quake 3 run verry well.
-- Razvan Adrian Bogdan, 08 septiembre 2004 16:10 (email)
Answers:
I had the same problem. I tried to use GLUT but it didn't work. Then I tried to use GLX but it didn't work neither. Now, I'm using SDL and this works verry well. SDL is a libery wich can be used to set up an OpenGL window. SDL is available for many platforms. If you want to use it in FreePascal, you can use the Jedi-SDL headers.
-- Bart Tierens, 12 septiembre 2004 12:38
Bookmarks