I am having problems using libpng with Xcode 4.2 on OS X 10.7.1.
My program does not start with an error:
dyld: Library not loaded: /usr/X11/lib/libpng15.15.dylib
and
Reason: Incompatible library version: glsl_test requires version 20.0.0 or later, but libpng15.15.dylib provides version 17.0.0
All I do is add /usr/X11/libpng.dylib to the linked libraries, so where does this "version 20" requirement come from? Why doesn't Xcode just require the version available? How do I tell my program that it is normal to use version 17?
source share