You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
$ dpkg -L libcurl4-openssl-dev
/.
/usr
/usr/bin
/usr/bin/curl-config
/usr/include
/usr/include/x86_64-linux-gnu
/usr/include/x86_64-linux-gnu/curl
/usr/include/x86_64-linux-gnu/curl/curl.h
...(omitted)
/usr/share/doc/libcurl4-openssl-dev/changelog.Debian.gz
$ cd liboai && cmake -Bbuild .
CMake Error at CMakeLists.txt:6 (find_package):
Could not find a package configuration file provided by "CURL" with any of
the following names:
CURLConfig.cmake
curl-config.cmake
Add the installation prefix of "CURL" to CMAKE_PREFIX_PATH or set"CURL_DIR" to a directory containing one of the above files. If "CURL"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
Just installing by apt like this doesn't work.
I think this is because find_package(CURL CONFIG REQUIRED) on CMakeLists.txt expect vcpkg use.
Replacing find_package(CURL CONFIG REQUIRED) and target_link_libraries(oai PRIVATE CURL::libcurl)
with target_link_libraries(oai PRIVATE curl) works well.
I'd be very happy if this works on Ubuntu 22.04. :)