Problem in build for desktop

I am try to get build of nextcloud desktop and i get this Error:

cmake -G "Visual Studio 15 2017 Win64" ../desktop
-- The C compiler identification is MSVC 19.11.25547.0
-- The CXX compiler identification is MSVC 19.11.25547.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build of crashreporter disabled.
-- GIT_SHA1 73ccccb8a7e4604806ed5ce2b895c81fe496052a
-- Could NOT find INOTIFY (missing: INOTIFY_INCLUDE_DIR INOTIFY_LIBRARY_DIR)
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)
-- Could NOT find PdfLatex (missing: PDFLATEX_EXECUTABLE)
-- Found OpenSSL: optimized;C:/OpenSSL/lib/VC/libcrypto64MD.lib;debug;C:/OpenSSL/lib/VC/libcrypto64MDd.lib (found suitable version "1.1.0i", minimum required is "1.1")
-- Found ZLIB: C:/zlib/lib/zlib.lib (found version "1.2.11")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find GLib2 (missing: GLib2_LIBRARY GLib2_INCLUDE_DIR)
================> LIBCLOUDPROVIDERS_LIBRARY-NOTFOUND
-- Could NOT find LIBCLOUDPROVIDERS (missing: LIBCLOUDPROVIDERS_INCLUDE_DIR LIBCLOUDPROVIDERS_LIBRARY)
CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
 Could NOT find Qt5Keychain (missing: QTKEYCHAIN_LIBRARY)
Call Stack (most recent call first):
 C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
 cmake/modules/FindQt5Keychain.cmake:47 (find_package_handle_standard_args)
 src/CMakeLists.txt:13 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/projects/build/CMakeFiles/CMakeOutput.log".

it say Could NOT find LIBCLOUDPROVIDERS (missing: LIBCLOUDPROVIDERS_INCLUDE_DIR LIBCLOUDPROVIDERS_LIBRARY)

what is the problem?

1 Like

Your problem is missing qt5keychain lib.
Libcloudproviders is not necessary.

Download qtkeychain and compile it with qt5. Set QT_KEYCHAIN ENV Vars to your qt5keychain folder and run again.