我找到了几个示例代码源(例如在此处找到的),它们表明包含将允许使用该库。它似乎对我不起作用。在 C++ 中使用 sqlite 启动项目的正确方法是什么?
以下错误是我要回来的:
Undefined symbols for architecture x86_64:
"_sqlite3_close", referenced from:
_main in ccjxXmWk.o
"_sqlite3_errmsg", referenced from:
_main in ccjxXmWk.o
"_sqlite3_exec", referenced from:
_main in ccjxXmWk.o
"_sqlite3_free", referenced from:
_main in ccjxXmWk.o
"_sqlite3_open", referenced from:
_main in ccjxXmWk.o