Open albertz opened 10 years ago
Probably because clang is ignoring some of the flags ?
clangclang: : warning: warning: argument unused during compilation
I don't know why though
Well that is an -L
, so only relevant for linking. This would need more debugging.
I would also watch the related Homebrew formula. You will find all needed patches/options there. However, they are using libpng 1.5.14 (that is where I get the link from). The formula is here. But maybe we just wait and adopt from there.
Agreed. Let's leave that issue open until someone finds the time to debug the issue.
You need to set your CPPFLAGS variable to the zlib headers location... I use
setenv LDFLAGS "-L/usr/local/lib -R/usr/local/lib"
setenv CFLAGS "-I/usr/local/include"
setenv CPPFLAGS "-I/usr/local/include"
I guess it includes the wrong
zlib.h
? But why?