Skip to content

Why sqlite unofficial? #127

@mythrz

Description

@mythrz

Why no support to the official libraries of sqlite?
Did you modified the sqlite source code so it works correctly?

I am building from source, using cmake, and I can only proceed if I use vcpkg to get your custom sqlite lib?


Error

[cmake] -- Found PostgreSQL: /usr/lib/libpq.so (found version "18.3")
[cmake] CMake Error at build/linux/_deps/sqlgen-src/CMakeLists.txt:136 (find_package):
[cmake] Could not find a package configuration file provided by
[cmake] "unofficial-sqlite3" with any of the following names:
[cmake]
[cmake] unofficial-sqlite3Config.cmake
[cmake] unofficial-sqlite3-config.cmake
[cmake]
[cmake] Add the installation prefix of "unofficial-sqlite3" to CMAKE_PREFIX_PATH or
[cmake] set "unofficial-sqlite3_DIR" to a directory containing one of the above
[cmake] files. If "unofficial-sqlite3" provides a separate development package or
[cmake] SDK, be sure it has been installed.
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!


Notes about the system

OS: ArchLinux EOS

Using the following (official) libs:

$ pacman -S base-devel postgresql-libs postgresql mariadb-libs mariadb duckdb sqlite

Using cmake to fetch:

include(FetchContent)
FetchContent_Declare(sqlgen GIT_REPOSITORY https://github.com/getml/sqlgen.git GIT_TAG main)
FetchContent_MakeAvailable(sqlgen)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions