mitsuba icon indicating copy to clipboard operation
mitsuba copied to clipboard

Compiling on Ubuntu 16.04?

Open sylqiu opened this issue 4 years ago • 2 comments

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?

sylqiu avatar Aug 26 '19 03:08 sylqiu

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.

marceliwac avatar Aug 27 '19 23:08 marceliwac

I actually installed libprecpp0v5 and it did work! I had to make a lot of modifications in multiple files to get it installed.

shirsenh avatar Sep 24 '19 07:09 shirsenh