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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s