mmp / pbrt-v3

Source code for pbrt, the renderer described in the third edition of "Physically Based Rendering: From Theory To Implementation", by Matt Pharr, Wenzel Jakob, and Greg Humphreys.
http://pbrt.org
BSD 2-Clause "Simplified" License
4.86k stars 1.18k forks source link

CMake building error in Windows machine #257

Closed hownhoo closed 4 years ago

hownhoo commented 4 years ago

I have git pull the latest pbrt-v3 and its corresponding latest submodules into my Windows machine, but when I try to build by using CMake, I encounter error:

CMake Error at D:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Call Stack (most recent call first): D:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) D:/Program Files/CMake/share/cmake-3.15/Modules/FindPkgConfig.cmake:41 (find_package_handle_standard_args) src/ext/ptex/CMakeLists.txt:36 (find_package)

Could anybody help me to solve it please?

CMake_Error commitID status