I can compile successfully in the terminal, but I can’t compile in Android Studio. I get the following errors. How do I solve it :
Could not find a package configuration file provided by “Async++” with any
-
of the following names:*
-
Async++Config.cmake*
-
async+±config.cmake*
-
Add the installation prefix of “Async++” to CMAKE_PREFIX_PATH or set*
-
“Async++_DIR” to a directory containing one of the above files. If*
-
“Async++” provides a separate development package or SDK, be sure it has*
-
been installed.*
Since the Async++ library is the first 3rd party dependency, I get an error where “find_package” is used. The others will give the same error:
find_package(Async++ CONFIG REQUIRED)
find_package(doctest CONFIG REQUIRED)
find_package(draco CONFIG REQUIRED)
find_package(expected-lite CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED)
find_package(meshoptimizer CONFIG REQUIRED)
find_package(httplib CONFIG REQUIRED)
find_package(Ktx CONFIG REQUIRED)
find_package(libmorton CONFIG REQUIRED)
find_package(libjpeg-turbo CONFIG REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(s2 CONFIG REQUIRED)
find_package(spdlog CONFIG REQUIRED)
find_package(tinyxml2 CONFIG REQUIRED)
find_package(unofficial-sqlite3 CONFIG REQUIRED)
find_package(uriparser CONFIG REQUIRED char wchar_t)
find_package(WebP CONFIG REQUIRED)