Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9347 closed bug (invalid)

Unable to run some OpenGL games

Reported by: Giova84 Owned by: kallisti5
Priority: normal Milestone: R1
Component: Kits/OpenGL Kit Version: R1/Development
Keywords: Unable to run some OpenGL games Cc:
Blocked By: Blocking:
Platform: All

Description

On Haiku Alpha 4.1 i was able to run any OpenGL games (but with a very slow framerate, due the lack of 3D acceleration.. Ok.)

But on hrev45110 i am not able to run these games (Puri, Torcs and GL-117, all available on Haikuware). When i start these games i got these errors: Missing Symbol: glutinitDisplayMode Could not resolve symbol 'glutSwapBuffers'

No problem, in anyway, when i run teapot demo and BillardGL.

Change History (2)

comment:1 by kallisti5, 11 years ago

hmm.. it sounds like glut isn't getting linked into libGL. I'll take a close look at this asap

comment:2 by kallisti5, 11 years ago

Resolution: invalid
Status: newclosed

Ah.. no. This was on purpose.

http://cgit.haiku-os.org/haiku/commit/build/jam/HaikuImage?id=4ff9f11a00e866d65d180a3dd4f1cba43ba45327 is the suspect.

libGLUT was linked into libGL.so. This was done by someone previous to me. We validated that libGLUT was *not* linked into libGL.so in BeOS. libGLUT is normally kept separate and it being linked into libGL was a design flaw that's been in the OS for a while.

So yeah, those Haikuware applications are going to need to be recompiled.

On the bright side, it's good this issue was caught and fixed before Haiku R1.

Version 0, edited 11 years ago by kallisti5 (next)
Note: See TracTickets for help on using tickets.