Closed krumo closed 5 years ago
Strange. I just tried with ubuntu 16.04 (and cmake 3.5.1, gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609), and it builds fine--I didn't get that error.
Based on your error message, it looks like it may be finding the glog/logging.h #include file from the wrong place--not from the version of glog that is included with pbrt. I'm not sure why that would happen, however.
As a workaround, you might try deleting the 35 or so lines starting at line 463 of src/ext/glog/CMakeLists.txt that refer to stl_logging_unittest. There's no need to build that for pbrt anyway.
When I tried compiling pbrt project, I encountered the following error:
My cmake version is 3.5.1 and I installed pbrt according to the instructions in the readme.md file. Is there anyone help me to build this project? Thanks in advance!