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
I have problem about nvdiffrast_plugin_gl.so #92
Comments
You seem to have no graphics libraries installed on your system (OpenGL and EGL) that are required by the OpenGL-based rasterizer. I suggest you take a look at our Dockerfile to see the required libraries and environment variables, or even better, use the Docker environment directly. Note that you will also need the OS-level graphics drivers installed in the system. Since version v0.3.0 nvdiffrast includes a Cuda-based rasterizer that doesn't require the graphics libraries or drivers. It has some restrictions compared to OpenGL (see documentation) but it could be a working solution in your use case. |
Thank you for kindly replying. I will do following your reply. |
Hello, I have the same problem as you, have you solved it? |
I have replaced "RasterizeGLContext" with "RasterizeCudaContext", so I guess I don't need to install graphics libraries like OpenGL,but the problem is still there. |
Which line did you modify? I met the same problem. |
I did the same thing as JiyouSeo, I modified ['ninja', '-v'] to ['ninja', '--version'] in cpp_extension.py ,and then I got "nvdiffrast_plugin_gl.so: cannot open shared object file: No such file or directory". |
It seems that I have solved this problem:don't modify " ['ninja', '-v']", and replace "RasterizeGLContext" with "RasterizeCudaContext" in your project. |
in util/nvdiffrast.py? it does not work for me. |
It should be in some files which import nvdiffrast, I think you will find it by searching "RasterizeGLContext" in your own project. |
Here's a new update on this issue: |
Hello, thank you for your great research!
I have a problem running the code that import nvdiffrast.
So, I modify ['ninja', '-v'] to ['ninja', '--version'] in cpp_extension.py
Then It return
I guess it is because it cannot build nvdiffrast_plugin_gl.so.
How can I build exactly nvdiffrast_plugin_gl.so?
And this is my code environment.
Thank you.
The text was updated successfully, but these errors were encountered: