sqlitecpp-troubleshooting
Diagnose SQLiteCpp build, linker, compiler, and sqlite3 integration issues.
소스 정보
- 저장소
- SRombauts/SQLiteCpp
- 최근 소스 활동
- 2026년 5월 19일 21:46
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2,789
- 포크
- 575
설치 방법
기본적으로 소스를 먼저 확인하는 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에서 보기