Libpng installed from Brew claims to be an incompatible architecture on MacOS with M3
After installing libpng using Homebrew (brew install libpng
), attempting to compile a project using the command gcc -o render_region.o render_region.c -I/usr/local/Cellar/libpng/1.6.43/include/libpng16 -L/usr/local/Cellar/libpng/1.6.43/lib -lpng16
returns