/usr/bin/ld: cannot find -lEGL
Eric-JH opened this issue · comments
I did install libegl1-mesa
and libegl1-mesa-dev
on my ubuntu platform. But when I run the sample code from nvdiffrast, there is a error and reports /usr/bin/ld: cannot find -lEGL
. How can I fix this plz?
libEGL.so
is provided by the package libegl1
on ubuntu 😉
I failed to install libegl1. Package libegl1 is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or is only available from another source
was reported. I googled the problem. I'm sure my config file of apt
is correct. And command apt-cache search libegl1
feed me other parties instead of libegl. So what can I do with this situation?
Developer boards for community help are usually the best place for these questions.
As @stonesthrow said, this isn't a support forum, but beyond that, since your issue is about using Ubuntu, you might be best served by asking Ubuntu people for help; their two main websites are https://askubuntu.com and https://ubuntuforums.org
I got it. Thanks for all