Skip to content

incomplete definition of type 'struct quirc' #130

@nikolafamit

Description

@nikolafamit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions