mitsuba
mitsuba copied to clipboard
Compiling on Ubuntu 16.04?
When compiling from source of a variant version of Mitsuba, https://github.com/cmu-ci-lab/mitsuba_clt, I got the error
fatal error: zlib.h: No such file or directory
I believe this is due to that I could not install the libpcrecpp0 on Ubuntu 16.04, which seems to be outdated. Installing libprecpp0v5 does not help. Is it possible to update the package dependency, or any other way to resolve this?
Hi @sylqiu, I've actually had the same problem when I was writing my dissertation (where I built on top of Mitsuba. I ended up working on a Docker image with both the dependencies & separate ones with versioned builds of Mitsuba. Due to poor dependency support on the modern systems the images extended Ubuntu 13. This is not optimal, but running containerised Mitsuba ended up being both very performant and a great test environment for the benchmarks.
You can check out the following: mitsuba-dependencies - docker image on Docker Hub mitsuba-rgb - RGB version of pre-built Mitsuba as a docker image on Docker Hub mitsuba-rgb - spectral version of pre-built Mitsuba as a docker image on Docker Hub mitsuba-docker - image code on GitHub
Feel free to contact me if you have any questions regarding the above.
I actually installed libprecpp0v5 and it did work! I had to make a lot of modifications in multiple files to get it installed.