dlbeer/quirc

Disable LibPNG dependency

Closed this issue · 5 comments

How do I disable libpng dependency on the project, I am trying to compile for an embedded platform and had many problems. After commenting on the qrtest.c methods related to png I managed to compile without this dependency.

It would be interesting to have a flag or something to disable this.

in readme

The distribution comes with, in addition to the library, several test programs. While the core library is very portable, these programs have some additional dependencies. All of them require libjpeg, and two (quirc-demo and inspect) require SDL. The camera demos use Linux-specific APIs:

Hi @dlbeer ..
I was trying to run one of the examples (qrtest.c) and I was having this difficulty. Libpng seems to be very annoying to compile because it depends on zlib. Well at least for people who are not C.

I'm trying to make a QRCODE reader using an IP camera.
roleoroleo/yi-hack-Allwinner#268 (comment)