I get the following error when trying to cmake. my cmake version is 3.17.0 with MacOS 10.15.5
-- Using /Users/xxx/Documents/build/halide/bin/libHalide.dylib
-- PNG not found for _halide_library_from_generator_rungen; compiling with -DHALIDE_NO_PNG
-- Found tiffxx: /usr/local/lib/libtiffxx.dylib
CMake Error at /usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find PNG (missing: PNG_PNG_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/FindPNG.cmake:156 (find_package_handle_standard_args)
CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/xxx/Documents/build/hdr/CMakeFiles/CMakeOutput.log".
I get the following error when trying to cmake. my cmake version is 3.17.0 with MacOS 10.15.5 -- Using /Users/xxx/Documents/build/halide/bin/libHalide.dylib -- PNG not found for _halide_library_from_generator_rungen; compiling with -DHALIDE_NO_PNG -- Found tiffxx: /usr/local/lib/libtiffxx.dylib CMake Error at /usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find PNG (missing: PNG_PNG_INCLUDE_DIR) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) /usr/local/Cellar/cmake/3.17.0/share/cmake/Modules/FindPNG.cmake:156 (find_package_handle_standard_args) CMakeLists.txt:15 (find_package)
-- Configuring incomplete, errors occurred! See also "/Users/xxx/Documents/build/hdr/CMakeFiles/CMakeOutput.log".
I already brew install libpng