Quote Originally Posted by JSoftware
Try to add {$L glx.so} somewhere in the code and remove the compiler option -k-lglx
Code:
/usr/bin/ld: cannot find glx.so
And the same if I add {$L libglx.so}. The weird thing is that if I do use "locate" I get:
Code:
$ locate glx.so
/usr/lib/nvidia/libglx.so.xserver-xorg-core
/usr/lib/xorg/modules/extensions/libglx.so
/usr/lib/xorg/modules/extensions/libglx.so.180.44
I tried to load libglx.so by hand (LoadLibrary) then look for the "glXQueryExtension" function (GetProcedureAddress) and I success. I looked for a "dev" package for GLX and I've find only "libglitz-glx1-dev" but it forces "libglitz-glx1" and I'm using "libgl1-mesa-glx" library instead so should I install it?

On the other hand, I've test the C example programs from the original Allegro library (that uses the same libs) and they worked.

I'm very confused.