You need to link the sqlite3 library along with your program:
g++ main.cpp -lsqlite3
More Related Contents:
- Faster bulk inserts in sqlite3?
- How to use SQLite in a multi-threaded application?
- Can I use parameters for the table name in sqlite3?
- What is a good OO C++ wrapper for sqlite [closed]
- How to store array in one column in Sqlite3?
- sqlite3_exec() Callback function clarification
- Error: C2228: left of ” must have class/struct/union
- What is meant by Resource Acquisition is Initialization (RAII)?
- How do I terminate a thread in C++11?
- Defining static members in C++
- Order of calling constructors/destructors in inheritance
- How to specialize std::hash::operator() for user-defined type in unordered containers?
- WINMAIN and main() in C++ (Extended)
- How many levels of pointers can we have?
- c++ custom compare function for std::sort()
- Why floating point value such as 3.14 are considered as double by default in MSVC?
- openCV program compile error “libopencv_core.so.2.4: cannot open shared object file: No such file or directory” in ubuntu 12.04
- Is a destructor called when an object goes out of scope?
- How does std::copy work with stream iterators
- Decimal to hex conversion c++ built-in function
- Best way to determine if two path reference to same file in Windows?
- getline() does not work if used after some inputs [duplicate]
- cmake find_package specify path
- Is it bad practice to allocate memory in a DLL and give a pointer to it to a client app?
- How to run specific test cases in GoogleTest
- Hash function for a string
- Difference between size_t and std::size_t
- How can I use a bitmask?
- Are data members allocated in the same memory space as their objects in C++?
- Throwing C++ exceptions across DLL boundaries