tensorflow / graphics

TensorFlow Graphics: Differentiable Graphics Layers for TensorFlow
Apache License 2.0
2.74k stars 362 forks source link

Cannot load rasterizer_op.so on OSX #670

Open areiner222 opened 2 years ago

areiner222 commented 2 years ago

I am getting the following error when I try to use the opengl or CPU backends of rasterize:

When I run import tensorflow_graphics.rendering.opengl.rasterization_backend I get

tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/xxxxxx/miniconda3/envs/xxxxx/lib/python3.8/site-packages/tensorflow_graphics/rendering/opengl/rasterizer_op.so, 0x0006): tried: '/Users/xxxxx/miniconda3/envs/xxxxx/lib/python3.8/site-packages/tensorflow_graphics/rendering/opengl/rasterizer_op.so' (not a mach-o file), '/usr/local/lib/rasterizer_op.so' (no such file), '/usr/lib/rasterizer_op.so' (no such file).

Do I need to build from source on Mac? What is the best way to do that?

areiner222 commented 2 years ago

Checking back in on this - any recommendations ?

danperazzo commented 2 years ago

Hello everyone, I have the same problem, but on WIndows

kimjansheden commented 9 months ago

I have the same problem