Kompex-SQLite-wrapper is the encapsulation class of sqlite3 and is implemented in C ++. Web site is http://sqlitewrapper.kompex-online.com/index.php? Content = home
Recently developed embedded projects need to use sqlite3, but directly with no error processing, use is not concise enough, so the SQLite official website http://www.sqlite.org/cvstrac/wiki? P = sqlitewrappers
There are many recommended encapsulation classes, so we chose kompex-SQLite-wrapper.
CompileSource codeNothing more than three axes:./configure, make, make install
Compiled version on PC
1./configure -- prefix = directory to which you want to install
2. Make
3. Make install
This is simple and can be done directly.
The version that is compiled to run in ARM (the compiler I use is arm-None-Linux-gnueabi, And the compiler can be changed as needed)
1./configure -- prefix = directory to be installed -- target = arm-None-Linux-gnueabi -- Host = arm-None-Linux-gnueabi
2. Make cxx = arm-None-Linux-gnueabi-G ++
The makefile generated above only specifies the C compiler as arm-None-Linux-gnueabi-GCC, but does not specify the C ++ compiler. The default value is g ++, in this way, the two compilers do not match, and a compilation error will occur.
3. Make install