[fpc-pascal] Where is fpc finding link directories?
sysrpl at gmail.com
Fri Dec 11 15:50:46 CET 2015
I am having a problem with fpc picking up linking directories on my
I have a this lib:
When I execute "ldconfig -v" it shows both "/opt/vc/lib/" as a ld link
directory, and the file libGLESv2.so as a linkable library.
But when I use this code in a unit:
procedure glActiveTexture(texture: GLenum); external '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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal