Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/opt/conda/envs/deep3d_pytorch/lib/python3.6/site-packages/nvdiffrast/common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory #include <EGL/egl.h> ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. #55

Open
muxiddin19 opened this issue Dec 30, 2021 · 7 comments

Comments

@muxiddin19
Copy link

muxiddin19 commented Dec 30, 2021

When I run the test script:

get reconstruction results of example images

python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples
I faced this issue, Can you give any solution, please?

@sdulyq
Copy link

sdulyq commented Apr 16, 2022

you can try to update your Graphics driver

@WildPant
Copy link

当我运行测试脚本时:

获取示例图像的重建结果

python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples 我遇到了这个问题,你能给出任何解决方案吗?

When I run the test script:

get reconstruction results of example images

python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples I faced this issue, Can you give any solution, please?

Did you solve this problem?

@SaifeiYan
Copy link

当我运行测试脚本时:

获取示例图像的重建结果

python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples 我遇到了这个问题,你能给出任何解决方案吗?

When I run the test script:

get reconstruction results of example images

python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples I faced this issue, Can you give any solution, please?

Did you solve this problem?

Did you solve this problem

@etranger7
Copy link

I have the same or similar problem

/anaconda3/envs/deep3d_pytorch/lib/python3.6/site-packages/nvdiffrast/torch/../common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory
   36 | #include <EGL/egl.h>

@etranger7
Copy link

I solved my "egh.h: no such file" problem by installing this library:
apt-get install libegl1-mesa-dev

@LebornCC
Copy link

我通过安装这个库解决了我的“egh.h:没有这样的文件”问题:apt-get install libegl1-mesa-dev

thank you I solve it

@chwshuang
Copy link

在目录后加上--use_opengl false 即可。
python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples --use_opengl false

NVlabs/nvdiffrast#94 官方给到解释是直接用 RasterizeCudaContext 。The Cuda rasterizer (using RasterizeCudaContext instead of RasterizeGLContext) doesn't use OpenGL, so you don't need the OpenGL or EGL libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants