Open adrianroth10 opened 5 years ago
I'm having the same problem when using scons, I'll reply if I figure it out. You haven't happened to figure it out by now, have you?
Nope sorry, I gave up.
so how to solve it?please
so how to solve it?please
reference https://cgcvtutorials.wordpress.com/2017/05/31/install-mitsuba-on-linux-16-04/
SOLUTION: modify « src/bsdfs/irawan.h » :
Line : #if BOOST_VERSION >= 106000
Becomes : #if BOOST_VERSION >= 105800
RE : http://stackoverflow.com/questions/3680
In my case, I can't solve.
Change mitsuba/src/bsdfs/irawan.h to https://github.com/shi-jian/mitsuba-shapenet/blob/master/src/bsdfs/irawan.h
The problem here is that Properties::getFloat
and Properties::getSpectrum
are overloaded functions, so asking for their address is ambiguous: the compiler says <unresolved overloaded function type>
.
To solve this ambiguity, you can specify which overload to use. It should be the version taking a single string:
&Properties::getFloat
becomes
static_cast<Float (Properties::*)(const std::string &) const>(&Properties::getFloat)
This fix should be applied to lines 314, 317, and 367 according to the property type.
Trying to build on Ubuntu 18.04.2 LTS and have tried following guide in the documentation and one other. Both result in the same issue and I would appreciate any help I can get.
When compiling the irawan.cpp file the error seems to be connected to a function ph::bind from the boost library where no matching function is found for the call. The full output is printed below: