mmp / pbrt-v2

Source code for the version of pbrt described in the second edition of "Physically Based Rendering"
http://pbrt.org
989 stars 343 forks source link

build issue #40

Closed unicomp21 closed 9 years ago

unicomp21 commented 9 years ago

root@PBRT:~/pbrt-v2/src# make /bin/mkdir -p bin objs Building object objs/core_imageio.o core/imageio.cpp:137:26: fatal error: ImfInputFile.h: No such file or directory

include

                      ^

compilation terminated. Makefile:115: recipe for target 'objs/core_imageio.o' failed make: *\ [objs/core_imageio.o] Error 1

mmp commented 9 years ago

See https://github.com/mmp/pbrt-v2/blob/master/src/README_BUILDING.txt. It looks like you don't have OpenEXR installed. If so, you need to update the Makefile.