Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Ubuntu 16.04? #118

Open
sylqiu opened this issue Aug 26, 2019 · 2 comments
Open

Compiling on Ubuntu 16.04? #118

sylqiu opened this issue Aug 26, 2019 · 2 comments

Comments

@sylqiu
Copy link

sylqiu commented Aug 26, 2019

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?

@marceliwac
Copy link

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.

@shirsenh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants