Skip to content
tjd edited this page Dec 16, 2010 · 2 revisions

Welcome to the sqlite_cpp wiki!

To use sqlites and the soci C++ interface, you need to install sqlite3 packages (including the sqlite dev package to get the .h headers), and the soci sqlite3 packages (including the dev package for the headers).

Here's a handy page that explains the basics of library linking on Linux: http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html

For example, here's how soci_demo.cpp can be complied:

g++ soci_demo.cpp -o soci_demo_ex -l soci_sqlite3-gcc-3_0
Clone this wiki locally