Giter Site home page Giter Site logo

Comments (8)

acrlakshman avatar acrlakshman commented on August 16, 2024 1

I seem to have one small issue with running mitsuba. Looks like I need to run the $ source setpath.sh command every time I restart the terminal. How can I set/configure the environment variables permanently so that I don't have to do this over and over again?

If you are using bash shell: add source <path-to-folder-with-setpath.sh>/setpath.sh in ~/.bashrc

(or) echo 'source setpath.sh' >> ~/.bashrc.

If you are using zshell, add the same source <path-to-folder-with-setpath.sh>/setpath.sh in ~/.zshrc.

from mitsuba2.

chaosink avatar chaosink commented on August 16, 2024

The same compilation error occurs on my PC exactly after this commit 2c1b63f, which contains a rebase operation of Embree.

There is no python3-distutils for Ubuntu 16.04. Can't find it in the list: https://packages.ubuntu.com/xenial/python/
It is offered starting from 18.04:
https://packages.ubuntu.com/bionic/python/

System info:
Linux Mint 19.3 (base on Ubuntu 18.04)
clang version 9.0.0-2~ubuntu18.04.2 (tags/RELEASE_900/final)
OptiX 6.5
NVIDIA Driver 440.64.00
CUDA 10.2

from mitsuba2.

Speierers avatar Speierers commented on August 16, 2024

Thanks for reporting this!

I just fixed this in 4b39198. There was a bug when both Embree and Optix were enabled at the same time.

Regarding python3-distutils, please let me know if the lack of this package in Ubuntu 16.04 prevents you from building the Python bindings.

from mitsuba2.

abhinavvs avatar abhinavvs commented on August 16, 2024

Thanks for the response @Speierers and quick update. I tried building with the new commit and it ran without any errors (even without the python3-distutils and python3-sphinxcontrib.bebtex).

However, I got the following warning:

$ ninja
[127/264] Building CXX object src/shapes/CMakeFiles/rectangle-obj.dir/rectangle.cpp.o
../src/shapes/rectangle.cpp:211:67: warning: unused parameter 'cache' [-Wunused-parameter]
    void fill_surface_interaction(const Ray3f &ray_, const Float *cache,
                                                                  ^
1 warning generated.
[138/264] Building CXX object src/shapes/CMakeFiles/disk-obj.dir/disk.cpp.o
../src/shapes/disk.cpp:181:66: warning: unused parameter 'cache' [-Wunused-parameter]
    void fill_surface_interaction(const Ray3f &ray, const Float *cache,
                                                                 ^
1 warning generated.
[264/264] Generating dist/data/srgb.coeff

I will try running a few examples to see if this an issue or not.

from mitsuba2.

Speierers avatar Speierers commented on August 16, 2024

My bad, this should be fixed now: f30bd5c

Thanks!

from mitsuba2.

abhinavvs avatar abhinavvs commented on August 16, 2024

Thanks for the responses and updates to the package.

I seem to have one small issue with running mitsuba. Looks like I need to run the $ source setpath.sh command every time I restart the terminal. How can I set/configure the environment variables permanently so that I don't have to do this over and over again?

I am not too familiar with updating bash profiles, etc. Hence some detailed pointers would be very helpful for me.

from mitsuba2.

abhinavvs avatar abhinavvs commented on August 16, 2024

Thanks, @acrlakshman - it works well now.

@Speierers - Does Mitsuba2 work with OptiX 5.1?
My NVIDIA driver (410.48) isn't compatible with OptiX 6.5.

from mitsuba2.

Speierers avatar Speierers commented on August 16, 2024

@abhinavvs This was never tested. Although I doubt it would work with OptiX 5.1

from mitsuba2.

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.