Install MITSUBA on Linux 16.04

**************************************************************************

Compilation error due to introuvable file “bind_member_variable.hpp”

SOLUTION: modify « src/bsdfs/irawan.h » :

Line : #if BOOST_VERSION >= 106000

Becomes : #if BOOST_VERSION >= 105800

RE : http://stackoverflow.com/questions/36807135/how-to-install-bind-member-variable-hpp-in-ubuntu-16-04

**********************************************************************************

Scons –j 8

**********************************************************************************

Error when compiling « DScalar1 »

SOLUTION: modify « include/mitsuba/core/autodiff.h »

Add the following definition in the  “DScalar1”:

inline DScalar1& operator*=(const DScalar1 &v) {

    grad = v.grad * value + grad * v.value;

    value *= v.value;

    return *this;

}

RE : https://github.com/mitsuba-renderer/mitsuba/issues/3

via Install MITSUBA on Linux 16.04

Advertisement