Compilation error on Arch Linux
Out of the box, the Mitsuba renderer project doesn't compile on the current version of ArchLinux. The problem seems to be the latest version of Boost, which moved the files:
outside of the "spirit" package (referenced in src/bsdfs/irawan.h).
The annexed diff fixes the problem and compiles with Boost 1.60 .
I just created my account on the repository system, I can do a pull request if you wish.
Have a nice day,
#2 Updated by Yannick Hold about 2 years ago
- File fix.txt added
Of course, there you go. It compiles on my side with GCC 5.3.0. Haven't tried compiling with Collada support, though.
I realize the fix was already known in the ArchLinux community (just found this):
There is another fix for the Collada support, which I haven't tested. This AUR package doesn't work on my system, though, but I didn't investigate.
I see some headers used by Mitsuba are deprecated in Boost 1.60 (like ice_or.hpp). If you want, I can propose similar fixes for these issues.
Have a nice day,
#5 Updated by Yannick Hold about 2 years ago
I just checked the deprecation warnings and they doesn't seem to come from Mitsuba but from within Boost... I guess it should be fine on the next version of Boost.
I realized that I use the git version of the repository, but cmake tries to get the revision number from mercurial commands, which fails and displays something generic instead. Would you be interested in incorporating GetGitRevisionDescription.cmake from https://github.com/rpavlik/cmake-modules into the project, or is the mercurial repository the official one?
#6 Updated by Mike Cashman about 2 years ago
This error is a bit more widespread than Boost 1.6.
I had the same error, for the same reason with Boost 1.59. I'm not sure when Boost made the change, but it was earlier than 1.6.
Adapting the original fix to the version of Boost I was using also allowed the compile to finish.