[fpc-pascal]once again opengl/glut error msg. (linux)

Sebastian G√ľnther sg at freepascal.org
Thu Apr 10 00:39:45 CEST 2003


Am Don, 2003-04-10 um 00.25 schrieb Karim Forsthofer:
> Hello 
> 
> I wrote a new simple GLUT code , It call triangle.pp 
> The code compiles fine, but when I whant to run it, I get this msg on the console :
> 
> /triangles: relocation error: /usr/lib/libglut.so.3: undefined symbol: glXQueryExtension
> 
> It seems that the glutlib use a glx function that is not supported or not reachable. 
> By the way, I installled the new package from the freepascal website, with the GLU units etc. 

I don't get this error message


> Is the code o.k ?(would be nice, if somebody could run it on a linux machine) 

No, there is a bug: You must declare your callbacks as cdecl, i.e.

procedure display; cdecl;


- Sebastian




More information about the fpc-pascal mailing list