[fpc-pascal] Where is fpc finding link directories?
Andrew Haines
andrewd207 at aol.com
Fri Dec 11 17:57:29 CET 2015
On 12/11/2015 09:50 AM, Anthony Walter wrote:
> I am having a problem with fpc picking up linking directories on my
> Raspberry Pi.
>
> I have a this lib:
>
> /opt/vc/lib/libGLESv2.so
>
> I get this linker error during compile:
>
> /usr/lib/ld: cannot lind -lGLESv2
>
> But when I compile adding -Fl/opt/vc/lib the compile works without
> error, What's the deal? Why am I getting the ld error when when
> "/opt/vc/lib" is clearly in my linking path?
>
>
edit fpc.cfg and add the line
-Fl/opt/vc/lib
Regards,
Andrew
More information about the fpc-pascal
mailing list