libpng-xcode-project icon indicating copy to clipboard operation
libpng-xcode-project copied to clipboard

Wrong configuration.

Open sakrist opened this issue 9 years ago • 3 comments

When you simply copying pnglibconf, it does not means, that your platform will support everything.

shellScript = "cp ../../scripts/pnglibconf.h.prebuilt ../../pnglibconf.h";

sakrist avatar Dec 08 '15 17:12 sakrist

This script generates correct pnglibconf.h and also builds framework for iOS. Can be modified to create fat static lib. https://gist.github.com/sakrist/4c1126e60fa51323947f

sakrist avatar Dec 09 '15 09:12 sakrist

INSTALL:

III. Using scripts/makefile*

Instead, you can use one of the custom-built makefiles in the "scripts" directory

cp scripts/pnglibconf.h.prebuilt pnglibconf.h
cp scripts/makefile.system makefile
make test
make install

makefile.system = makefile.darwin or makefile.gcc that doesn't make any changes in pnglibconf.h

Also, Developer can make some changes for Target for main project or make undef

Please write a test for wrong configuration

ikorich avatar Dec 09 '15 10:12 ikorich

#define PNG_ARM_NEON_API_SUPPORTED will be uncommented with ./configuration

sakrist avatar Dec 09 '15 10:12 sakrist