Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Wrong configuration. #3

Open
sakrist opened this issue Dec 8, 2015 · 3 comments
Open

Wrong configuration. #3

sakrist opened this issue Dec 8, 2015 · 3 comments

Comments

@sakrist
Copy link

sakrist commented Dec 8, 2015

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

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

@sakrist
Copy link
Author

sakrist commented Dec 9, 2015

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

@ikorich
Copy link
Member

ikorich commented Dec 9, 2015

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

@sakrist
Copy link
Author

sakrist commented Dec 9, 2015

#define PNG_ARM_NEON_API_SUPPORTED will be uncommented with ./configuration

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants