[fpc-pascal] Link libglx library.

Jonas Maebe jonas.maebe at elis.ugent.be
Thu May 14 09:57:31 CEST 2009


On 14 May 2009, at 01:00, Guillermo Martínez Jiménez wrote:

> I'm working on a project that needs the GLX library. It compiles but
> when running it returns that error:
>
> ./exbasic: symbol lookup error: /usr/local/lib/libagl.so: undefined
> symbol: glXQueryExtension
>
> In other forum a colleague suggest that it doesn't links with the
> libglx.so . I'm trying to force it using the command line but it
> returns that error on compiling time:
>
> fpc -02 -Sh -kglx examples/agl/exbasic.pp -oexamples/agl/exbasic
> ...
> Target OS: Linux for i386
> Compiling examples/agl/exbasic.pp
> Linking examples/agl/exbasic
> /usr/bin/ld: glx: No such file: No such file or directory
>
> How should I do it?

-klglx (note the extra "l").


Jonas


More information about the fpc-pascal mailing list