Answers for "cannot find "-lsqlite3" C++"

C++
2

cannot find "-lsqlite3" C++

to use sqlite3 in your C++ / C source code you should download
the amalgamation C source file at "https://www.sqlite.org/download.html"
  
then extract the source files in your source folder.
  
Then in your code you include sqlite3 with :
#include "sqlite3.h"

and finaly you compile your program with :
gcc yourSourceFile.cpp sqlite3.c -o yourExeFile.exe
Posted by: Guest on August-01-2021

Browse Popular Code Answers by Language