Skip to main content

sqlitecpp-troubleshooting

Diagnose SQLiteCpp build, linker, compiler, and sqlite3 integration issues.

来源信息

仓库
SRombauts/SQLiteCpp
最近来源活动
2026年5月19日 21:46
检测到的 SKILL.md 语言
英语
星标
2,791
分支
574

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
sqlitecpp-troubleshooting
description
Diagnose SQLiteCpp build, linker, compiler, and sqlite3 integration issues.
# SQLiteCpp Troubleshooting ## Common compiler errors - MSVC: `error C2065` or `C2039` usually means a missing include or wrong symbol. - GCC/Clang: `use of undeclared identifier` or `no member named` indicates missing includes or API mismatch. ## Common linker errors - `LNK2019 unresolved external symbol "SQLite::Database::exec"`: - Missing SQLiteCpp library or missing source file in build. ## Missing sqlite3 on Linux - Errors like `undefined reference to sqlite3_xxx`: - Install `libsqlite3-dev`, or enable internal sqlite3. - CMake option: `-DSQLITECPP_INTERNAL_SQLITE=ON`. ## Column metadata error - `undefined reference to sqlite3_column_origin_name`: - Your sqlite3 library lacks `SQLITE_ENABLE_COLUMN_METADATA`. - Options: - Rebuild sqlite3 with that flag. - Disable `SQLITE_ENABLE_COLUMN_METADATA`. - Use internal sqlite3 (`SQLITECPP_INTERNAL_SQLITE=ON`). ## Destructors and assertions - Do not throw in destructors; use `SQLITECPP_ASSERT()` instead.
在 GitHub 查看