Skip to content

error: 'QRCode' was not declared in this scope #31

Open
@claytantor

Description

@claytantor

wondering what I am doing wrong, I am attempting to compile the example in my Arduino UI

https://github.com/ricmoo/QRCode/blob/master/examples/QRCode/QRCode.ino

I have installed the library using the Library Manager...

image

also check that it is installed...

libraries$ ls -al
total 28
drwxrwxr-x 7 clay clay 4096 Nov 20 22:32 .
drwxrwxr-x 4 clay clay 4096 Nov 20 22:26 ..
drwxrwxr-x 4 clay clay 4096 Nov 20 19:10 Base64
drwxrwxr-x 4 clay clay 4096 Nov 20 19:10 Keypad
drwxrwxr-x 5 clay clay 4096 Nov 20 22:32 QRCode
drwxrwxr-x 9 clay clay 4096 Nov 20 19:10 TFT_eSPI

and when I try to compile the example,

image

/home/clay/data/github.com/ricmoo/QRCode/examples/QRCode/QRCode.ino: In function 'void setup()':
QRCode:21:5: error: 'QRCode' was not declared in this scope
     QRCode qrcode;
     ^~~~~~
QRCode:22:24: error: 'qrcode_getBufferSize' was not declared in this scope

shouldn't it be able to find QRCode? If it is inappropriate to post this here and its not a bug happy to close and move the conversation.

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