DEVC++ 使用sqlite 错误
#include <cstdlib> #include <iostream> #include <sqlite3.h> using namespace std; int main(int argc, char *argv[]) { sqlite3 *db; int rc = sqlite3_open("sun.db", &db); system("PAUSE"); return EXIT_SUCCESS; } 报错是: [linker error]undefined reference to 'sqlite3_open' Id returned 1 exit status