在CMake上找不到SQLite3

i5desfxk  于 2022-11-11  发布在  SQLite
关注(0)|答案(1)|浏览(658)

我想修改Kodi,但由于此错误而无法生成它。

CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find Sqlite3 (missing: SQLITE3_LIBRARY SQLITE3_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindSqlite3.cmake:28 (find_package_handle_standard_args)
cmake/scripts/common/Macros.cmake:346 (find_package)
cmake/scripts/common/Macros.cmake:360 (find_package_with_ver)
CMakeLists.txt:175 (core_require_dep)

你有解决办法吗?谢谢。

osh3o9ms

osh3o9ms1#

我也遇到了同样的问题和用途:
sudo apt-获取安装libsqlite 3-dev

相关问题