Git Product home page Git Product logo

Comments (5)

HectorAnadon avatar HectorAnadon commented on May 11, 2024

Solved issue, the env variable LD_LIBRARY_PATH was not properly set to the path for the embree library.
However, I am having a problem, I believe it is optix related:
Traceback (most recent call last): File "tutorials/01_optimize_single_triangle.py", line 6, in <module> import pyredner File "/home/hleon/anaconda3/envs/render/lib/python3.6/site-packages/pyredner/__init__.py", line 7, in <module> from .render_pytorch import * File "/home/hleon/anaconda3/envs/render/lib/python3.6/site-packages/pyredner/render_pytorch.py", line 4, in <module> import redner ImportError: /home/hleon/anaconda3/envs/render/lib/python3.6/site-packages/redner.so: undefined symbol: rtpContextGetLastErrorString
My cmake variables are as follows:

set(OptiX_INCLUDE "/home/hleon/NVIDIA-OptiX-SDK-5.1.1-linux64/include")
set(optix_LIBRARY "/home/hleon/NVIDIA-OptiX-SDK-5.1.1-linux64/lib64/liboptix.so")
set(optix_prime_LIBRARY "/home/hleon/NVIDIA-OptiX-SDK-5.1.1-linux64/lib64/liboptix.so")

Thank you for your help!

from redner.

BachiLi avatar BachiLi commented on May 11, 2024

I think it's the same problem: is the lib64 directory of optix in your LD_LIBRARY_PATH?

from redner.

HectorAnadon avatar HectorAnadon commented on May 11, 2024

I does not work. It seems it is not importing correctly the headers. I tested Optix examples and they work. How did you install optix? I just did sh NVIDIA-OptiX-SDK-5.1.1-linux64-25109142.sh. What version do you have?
Thanks!

from redner.

BachiLi avatar BachiLi commented on May 11, 2024

I see the problem now. You linked to optix instead of optix prime. Try changing your optix_prime_LIBRARY variable to /home/hleon/NVIDIA-OptiX-SDK-5.1.1-linux64/lib64/liboptix_prime.so

from redner.

HectorAnadon avatar HectorAnadon commented on May 11, 2024

Great! Thank you! I did't even notice. Also I had to add /home/hleon/NVIDIA-OptiX-SDK-5.1.1-linux64/lib64 to the $LD_LIBRARY_PATH variable, and it worked.
Thank you for your quick answers and congratulations for your project.

from redner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.