utils/benchmark cannot compile baseline
valeriyvan opened this issue · comments
Valeriy Van commented
utils/benchmark
clang -Wall -Wpedantic -lpng benchmarks/decompression/baseline/main.c -o benchmarks/decompression/baseline/main
benchmarks/decompression/baseline/main.c:6:10: fatal error: 'png.h' file not found
#include <png.h>
^~~~~~~
1 error generated.
taylorswift commented
this is expected, the benchmark compares against libpng
, so you must have libpng
installed to run the benchmark
Wade Tregaskis commented
I have libpng installed (via brew install libpng
) but this problem persists. It appears it's not looking for the library in the right place (/opt/homebrew, the standard installation location).