Search code examples
iphonesqlitejailbreaktheos

how to use sqlite3 in Theos application


I a trying to create a Theos application in which i need to use sqlite,But i don't know how should i import sqlite3 library like we do in Xcode app. Below is what i did till now and getting error while compiling.

  1. added import in RootViewController.h
  2. extracted sqlite3.h and sqlite3.c in root of my app from this Zip

Trying to figure out from so many days i am new.


Solution

  • In case someone else need,Here what i did to use Sql statement in Theos App, i added

    sqltest_LDFLAGS=-lsqlite3

    in makefile and now able to use all the Sql statements.