CAN'T COMPILE SQLITE3 C APP



  • Hello,
    I'mt triyingto compile a simple programs using a sql3 lib, but this are the output:

     fatal error: sqlite3.h: No such file or directory
    

    I have installed this packages:

    opkg install sqlite3-cli
    opkg install libsqlite3
    
    

    Someone can help me?
    Regards


  • Banned

    This post is deleted!

  • Banned

    This post is deleted!


  • @sannin The header file is available as part of the sqlite3-dev package but you'll need to set up the build system to access it. Alternatively, you could download the header from the sqlite3 GitHub repository, but I expect you'll hit some other issues if you take this course.

    If you are developing C/C++ code for any IoT device with limited resources you really should set up the build system so you can cross compile and thereby have access to a huge range of development resources.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.