Skip to content

Compile Errors in Example #1

@paulobarcelos

Description

@paulobarcelos

Just got these compile errors on the example:

src/testApp.cpp:136: error: 'num_entries' was not declared in this scope
src/testApp.cpp:150: error: no 'operator++(int)' declared for postfix '++', trying prefix operator instead
src/testApp.cpp:150: error: no match for 'operator++' in '++kStdOkItemIndex'
src/testApp.cpp:161: error: redeclaration of 'ofxSQLiteSelect sel'

Regarding - 'num_entries' was not declared in this scope - I just declared it.
Regarding - redeclaration of 'ofxSQLiteSelect sel' - I just didn't redeclare it.

But Regarding - no 'operator++(int)' declared for postfix '++', trying prefix operator instead- and

  • no match for 'operator++' in '++kStdOkItemIndex' - that refers to the following snippet, I don't know how to proceed:
    if(result != SQLITE_OK) {
    cout << "error: " << result << endl;
    cout << "message:" << sqlite->getError() << endl;
    break;
    }
    else {
    ok++;
    }

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