Jason Madi
Jason Madi

Reputation: 83

SQLite3 not found on CMake

I want to modify Kodi but I cannot build it because of this error.

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)

Do you have a solution ? Thank you.

Upvotes: 6

Views: 8490

Answers (1)

I had the same problem and use:

sudo apt-get install libsqlite3-dev

Upvotes: 12

Related Questions