dlbeer / quirc

QR decoder library
Other
865 stars 285 forks source link

incomplete definition of type 'struct quirc' #130

Open nikolafamit opened 1 year ago

nikolafamit commented 1 year ago

When I type make inspect (macOS) I'm getting:

nikolayu@macbookpro quirc-master % make inspect
cc -Ilib -O3 -Wall -fPIC  -o tests/inspect.o -c tests/inspect.c
tests/inspect.c:58:18: error: incomplete definition of type 'struct quirc'
        uint8_t *raw = q->image;
                       ~^
lib/quirc.h:26:8: note: forward declaration of 'struct quirc'
struct quirc;
.
.
.
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [tests/inspect.o] Error 1

make qrtest is ok without error, but i want to inspect because qr recognising is poor. If i add images taken from camera it's unable to recognise. Only scanned qr via scanner device.