I cannot compile it
Well, simply adding hard-coded paths has the disadvantage that the builder may no longer be able to properly control which libs not to link to, e.g. when you don't want to link to the libGLU in /usr/X11R6. Plus, AFAIK X.org are planning to change the file system layout anyway, so you'd have to start supporting multiple setups, too.It's possible, but it does have its drawbacks. (Then again, it might be possible to specify an optional search path that is only checked when the lib hasn't been found anywhere else, but I'd have to look that up.)
|